CVE-2021-31402
dio vulnerable to CRLF injection with HTTP method string
Published Mar 21, 2023 · updated Feb 16, 2024
### Impact The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669. ### Patches The vulnerability has been resolved by https://github.com/cfug/dio/commit/927f79e93ba39f3c3a12c190624a55653d577984, and included since v5.0.0. ### Workarounds Cherry-pick the commit to your own fork can resolves the vulberability too. ### References - https://nvd.nist.gov/vuln/detail/CVE-2021-31402 - https://osv.dev/GHSA-jwpw-q68h-r678 - https://github.com/cfug/dio/issues/1130 - https://github.com/cfug/dio/issues/1752
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Mar 21, 2023 · GitHub Advisory Database
Detected
### Impact The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669. ### Patches The vulnerability has been resolved by https://github.com/cfug/dio/commit/927f79e93ba39f3c3a12c190624a55653d577984, and included since v5.0.0. ### Workarounds Cherry-pick the commit to your own fork can resolves the vulberabilit
Feb 16, 2024 · GitHub Advisory Database
Fix available
dio fixed in 5.0.0
Feb 16, 2024 · GitHub Advisory Database
Fix available
dio fixed in 5.0.0
Feb 16, 2024 · GitHub Advisory Database
Updated
### Impact The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669. ### Patches The vulnerability has been resolved by https://github.com/cfug/dio/commit/927f79e93ba39f3c3a12c190624a55653d577984, and included since v5.0.0. ### Workarounds Cherry-pick the commit to your own fork can resolves the vulberabilit
Affected
- Pub dio0 → 5.0.0
Sources
- CVE.orgVulnerability recordCVE-2021-31402
Official CVE identifier
cve.org - GitHub Advisory DatabasePackage advisoryGHSA-9324-jv53-9cc8
GitHub Advisory Database record mirrored by OSV.
github.com - OSV.devPackage advisoryGHSA-9324-jv53-9cc8
dio vulnerable to CRLF injection with HTTP method string
osv.dev