{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4c53044f62ba3e0921b6283e8ae37f7039c23643"
            }
          ],
          "repo": "https://github.com/comex/rust-shlex",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r7qv-8r2h-pg27"
  ],
  "details": "The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \\xa0 characters, which may facilitate command injection.",
  "id": "CVE-2024-58266",
  "modified": "2026-03-11T13:51:19.952692433Z",
  "published": "2025-07-27T22:15:25.707Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://crates.io/crates/shlex"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27"
    },
    {
      "type": "ADVISORY",
      "url": "https://rustsec.org/advisories/RUSTSEC-2024-0006.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}