RCE in Rust-lang Rust
CVE-2024-43402
Rust is a programming language. The fix for CVE-2024-24576, where `std::process::Command` incorrectly escaped arguments when invoking batch files on Windows, was incomplete. Prior to Rust version 1.81.0, it was possible to bypass the fix w…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.005 (66.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Rust-lang Rust — versions < 1.81.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/rust-lang/rust/security/advisories/GHSA-2xg3-7mm6-98jj (x_refsource_CONFIRM)
- https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html (x_refsource_MISC)
- https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/file-folder-name-whitespace-characters (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-43402?
- CVE-2024-43402 is a high-severity vulnerability in Rust-lang Rust, classified under OS Command Injection. CVSS score: 8.2/10. Published 2024-09-04.
- How severe is CVE-2024-43402?
- High severity. CVSS v3 base score is 8.2 out of 10.
- Is CVE-2024-43402 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.