Command Injection Vulnerability in shlex Crate by Rust
CVE-2024-58266

3.2LOW

Key Information:

Vendor

Comex

Status
Vendor
CVE Published:
27 July 2025

What is CVE-2024-58266?

The shlex crate prior to version 1.2.1 for Rust contains a vulnerability that allows unquoted and unescaped instances of the '{' and '\xa0' characters, potentially leading to command injection. This flaw may allow an attacker to manipulate the command execution context, posing risks to the integrity and security of applications relying on this crate. It is crucial for developers to review their usage of the shlex crate and apply the necessary updates to mitigate this risk.

Affected Version(s)

shlex 0 < 1.2.1

References

CVSS V3.1

Score:
3.2
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2024-58266 : Command Injection Vulnerability in shlex Crate by Rust