GHSA-4rgh-jx4f-qfcq
http before 0.13.3 vulnerable to header injection
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-35669
- https://github.com/dart-lang/http/issues/511
- https://github.com/dart-lang/http/pull/512
- https://github.com/dart-lang/http/commit/abb2bb182fbd7f03aafd1f889b902d7b3bdb8769
- https://github.com/dart-lang/http
- https://github.com/dart-lang/http/blob/master/CHANGELOG.md#0133
- https://pub.dev/packages/http/changelog#0133