Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. shlex
  4. ›
  5. GHSA-286m-6pg9-v42v

GHSA-286m-6pg9-v42v: Duplicate Advisory: Multiple issues involving quote API in shlex

July 28, 2025

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-r7qv-8r2h-pg27. This link is maintained to preserve external references.

Original Description

The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.

References

  • crates.io/crates/shlex
  • github.com/advisories/GHSA-286m-6pg9-v42v
  • github.com/comex/rust-shlex
  • github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27
  • nvd.nist.gov/vuln/detail/CVE-2024-58266
  • rustsec.org/advisories/RUSTSEC-2024-0006.html

Code Behaviors & Features

Detect and mitigate GHSA-286m-6pg9-v42v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.0

Fixed versions

  • 1.3.0

Solution

Upgrade to version 1.3.0 or above.

Impact 3.2 LOW

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

cargo/shlex/GHSA-286m-6pg9-v42v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:15 +0000.