BatBadBut.Command injection.
BatBadBut is the nickname of CVE-2024-24576 in rust-lang rust. 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 using the `Command`. An attacker able to control the arguments passed to the spawned process could execute arbitrary shell commands by bypassing the escaping. The severity of this vulnerability is critical for those who invoke batch files on Windows with untrusted arguments.
Name used by: RyotaK (Flatt Security)
From publication to today
Fix it
- Upgrade rust to 1.77.2 or later.
Affected and fixed versions
The full page for CVE-2024-24576
Severity details, every source, exploit references with their warnings, and the version check.