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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.