RCE in Rust-lang Rust
CVE-2024-24576
Rust is a programming language. The Rust Security Response WG was notified that the Rust standard library prior to version 1.77.2 did not properly escape arguments when invoking batch files (with the `bat` and `cmd` extensions) on Windows…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.805 (99.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Rust-lang Rust — versions < 1.77.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/rust-lang/rust/security/advisories/GHSA-q455-m56c-85mh (x_refsource_CONFIRM)
- https://doc.rust-lang.org/std/io/enum.ErrorKind.html#variant.InvalidInput (x_refsource_MISC)
- https://doc.rust-lang.org/std/os/windows/process/trait.CommandExt.html#tymethod.raw_arg (x_refsource_MISC)
- https://doc.rust-lang.org/std/process/struct.Command.html (x_refsource_MISC)
- https://doc.rust-lang.org/std/process/struct.Command.html#method.arg (x_refsource_MISC)
- https://doc.rust-lang.org/std/process/struct.Command.html#method.args (x_refsource_MISC)
- https://github.com/rust-lang/rust/issues (x_refsource_MISC)
- https://www.rust-lang.org/policies/security (x_refsource_MISC)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
Frequently asked questions
- What is CVE-2024-24576?
- CVE-2024-24576 is a critical-severity vulnerability in Rust-lang Rust, classified under OS Command Injection. CVSS score: 10.0/10. Published 2024-04-09.
- How severe is CVE-2024-24576?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2024-24576 known to be exploited?
- 26 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.