Security mailing lists by PureSourceCode

CVE-2024-58266

CRITICAL 9.8CVSS 3.1

Multiple issues involving quote API in shlex

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

Published
27 Jul 2025
Last modified
12 Oct 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-116
Also known as
GHSA-r7qv-8r2h-pg27RUSTSEC-2024-0006
Sources
NVDJSONOSV GHSA-r7qv-8r2h-pg27JSONOSV RUSTSEC-2024-0006JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD cve@mitre.org (Secondary) CVSS 3.1 LOW 3.2 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.2 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD comex shlex
cpe:2.3:a:comex:shlex:*:*:*:*:*:rust:*:*
< 1.2.1 1.2.1
OSV crates.io shlex < 1.3.0 1.3.0
OSV crates.io shlex >= 0.0.0-0, < 1.3.0 1.3.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 Jul 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.