GHSA-286m-6pg9-v42v: Duplicate Advisory Multiple Issues Involving Quote API Vulnerability
LOWGHSA-286m-6pg9-v42v is a LOW (CVSS 3.2) multiple issues involving quote api vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves multiple issues involving quote api in shlex. Remediation is available by upgrading affected packages to version 1.3.0.
GHSA-286m-6pg9-v42v at a Glance
Security Impact
CVSS: 3.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N).
How to Fix GHSA-286m-6pg9-v42v
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 shlex to 1.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for shlex
How to Check if You Are Affected
To determine whether your application is affected by GHSA-286m-6pg9-v42v, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for shlex
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 1.3.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-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. 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-286m-6pg9-v42v Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shlex
|
crates.io |
< 1.3.0
|
1.3.0
|
References
Frequently Asked Questions
What is GHSA-286m-6pg9-v42v?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-286m-6pg9-v42v?
Is shlex affected?
What is the CVSS score of GHSA-286m-6pg9-v42v?
What CWE is associated with GHSA-286m-6pg9-v42v?
How can I check crates.io dependencies for GHSA-286m-6pg9-v42v?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-286m-6pg9-v42v",
"modified" : "2025-07-28T15:57:12Z",
"published" : "2025-07-28T00:30:33Z",
"withdrawn" : "2025-07-28T15:57:12Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Multiple issues involving quote API in shlex",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-r7qv-8r2h-pg27. This link is maintained to preserve external references.\n\n### Original Description\nThe shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \\xa0 characters, which may facilitate command injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "shlex"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-58266"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/shlex"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/comex/rust-shlex"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0006.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-28T15:57:12Z",
"nvd_published_at" : "2025-07-27T22:15:25Z"
}
}