CVE-2024-3566: A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.
Critical CVSS 9.8
- CVE id
- CVE-2024-3566
- Published
- Last modified
Affected packages
How to fix it
Node.js (Runtimes and servers)
Upgrade Node.js to the fixed release of the line you run: 18.20.2, 20.12.2, 21.7.3.
node --version
- Install the patched Node.js release of your major line (nvm install, or the node image tag) everywhere the app runs and builds.
PHP (Runtimes and servers)
Upgrade PHP to the fixed release of the line you run: 8.1.28, 8.2.18, 8.3.6.
php --version
- Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.
Rust (Runtimes and servers)
Upgrade Rust to 1.77.2 or later.
rustc --version
- Build with the patched Rust toolchain (rustup update, or rust-toolchain.toml) and redeploy.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific conditions are satisfied.
References
- CVE-2024-3566 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-3566
- Web: https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/
- Web: https://kb.cert.org/vuls/id/123335
- Web: https://learn.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
- Web: https://www.cve.org/CVERecord?id=CVE-2024-1874
- Web: https://www.cve.org/CVERecord?id=CVE-2024-22423
- Web: https://www.cve.org/CVERecord?id=CVE-2024-24576
- Web: https://www.kb.cert.org/vuls/id/123335
- Web: https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/
- Web: https://github.com/nu11secur1ty/Windows11Exploits/tree/main/2024/CVE-2024-3566
- Web: https://kb.cert.org/vuls/id/123335
- Web: https://learn.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
- Web: https://www.cve.org/CVERecord?id=CVE-2024-1874
- Web: https://www.cve.org/CVERecord?id=CVE-2024-22423
- Web: https://www.cve.org/CVERecord?id=CVE-2024-24576
- Web: https://www.kb.cert.org/vuls/id/123335
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.