medium6.1
CVE-2020-35669
http before 0.13.3 vulnerable to header injection
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pub | http | < 0.13.3 | 0.13.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dart | Http | through 0.12.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/dart-lang/http/blob/master/CHANGELOG.md#0133
- https://github.com/dart-lang/http/issues/511
- https://github.com/advisories/GHSA-4rgh-jx4f-qfcq
- https://nvd.nist.gov/vuln/detail/CVE-2020-35669
- https://github.com/dart-lang/http/pull/512
- https://github.com/dart-lang/http/commit/abb2bb182fbd7f03aafd1f889b902d7b3bdb8769
- https://pub.dev/packages/http/changelog#0133