GHSA-jwpw-q68h-r678: Duplicate Advisory Improper Neutralization Of CRLF Sequences Vulnerability

HIGH
CVSS 7.5
CWE-88 CWE-74 CWE-93
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-jwpw-q68h-r678
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Product Duplicate Advisory
Package Ecosystem Pub
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

dio fixed: 5.0.0
Upgrade dio to 5.0.0
Verify Direct and Transitive Dependencies

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

## Duplicate advisory This advisory has been withdrawn because it is a duplicate of GHSA-9324-jv53-9cc8. This link is maintained to preserve external references. ## Original Description The 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.

GHSA-jwpw-q68h-r678 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
5.0.0
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?
GHSA-jwpw-q68h-r678 is a security vulnerability in Duplicate Advisory involving Improper Neutralization of CRLF Sequences in dio under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 5.0.0 across affected packages: dio.
What version fixes GHSA-jwpw-q68h-r678?
Upgrading to 5.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dio affected?
Yes, dio is affected in releases prior to 5.0.0. Upgrade your dependency to 5.0.0 or later.
What is the CVSS score of GHSA-jwpw-q68h-r678?
GHSA-jwpw-q68h-r678 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-jwpw-q68h-r678?
GHSA-jwpw-q68h-r678 is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (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.).
How can I check Pub dependencies for GHSA-jwpw-q68h-r678?
Run the dependency tree command: 'inspect dependencies for dio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}