GHSA-jwpw-q68h-r678: Duplicate Advisory Improper Neutralization Of CRLF Sequences Vulnerability
HIGHGHSA-jwpw-q68h-r678 is a HIGH (CVSS 7.5) improper neutralization of crlf sequences vulnerability (CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')) affecting Duplicate Advisory libraries in the Pub ecosystem. The issue involves improper neutralization of crlf sequences in dio. Remediation is available by upgrading affected packages to version 5.0.0.
GHSA-jwpw-q68h-r678 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix GHSA-jwpw-q68h-r678
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade dio to 5.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for dio
How to Check if You Are Affected
To determine whether your application is affected by GHSA-jwpw-q68h-r678, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for dio
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'), where the product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-jwpw-q68h-r678 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dio
|
Pub |
< 5.0.0
|
5.0.0
|
References
Frequently Asked Questions
What is GHSA-jwpw-q68h-r678?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-jwpw-q68h-r678?
Is dio affected?
What is the CVSS score of GHSA-jwpw-q68h-r678?
What CWE is associated with GHSA-jwpw-q68h-r678?
How can I check Pub dependencies for GHSA-jwpw-q68h-r678?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jwpw-q68h-r678",
"modified" : "2023-10-05T17:32:48Z",
"published" : "2022-05-24T17:47:44Z",
"withdrawn" : "2023-10-05T17:32:48Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Improper Neutralization of CRLF Sequences in dio",
"details" : "## Duplicate advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9324-jv53-9cc8. This link is maintained to preserve external references.\n\n## Original Description\nThe dio package prior to 5.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Pub",
"name" : "dio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-31402"
}, {
"type" : "WEB",
"url" : "https://github.com/cfug/dio/issues/1130"
}, {
"type" : "WEB",
"url" : "https://github.com/cfug/dio/commit/927f79e93ba39f3c3a12c190624a55653d577984"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cfug/dio"
}, {
"type" : "WEB",
"url" : "https://osv.dev/GHSA-jwpw-q68h-r678"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-88", "CWE-93" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-15T03:27:03Z",
"nvd_published_at" : "2021-04-15T19:15:00Z"
}
}