Skip to content

http before 0.13.3 vulnerable to header injection

Moderate severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

pub http (Pub)

Affected versions

< 0.13.3

Patched versions

0.13.3

Description

An issue was discovered in the http package before 0.13.3 for Dart. If the attacker controls the HTTP method and the app is using Request directly, it's possible to achieve CRLF injection in an HTTP request via HTTP header injection. This issue has been addressed in commit abb2bb182 by validating request methods.

References

Published by the National Vulnerability Database Dec 24, 2020
Published to the GitHub Advisory Database May 24, 2022
Reviewed Aug 4, 2022
Last updated Jan 27, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2020-35669

GHSA ID

GHSA-4rgh-jx4f-qfcq

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.