What’s Vulnerable › Vulnerabilities
CVE-2024-3566: Command injection vulnerability in programing languages on Microsoft Windows operating system.
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-04-10 · updated 2026-06-17
- Weakness: CWE-77
Description
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.
Affected products
- Haskell Process Library: before 1.6.19.0 — fixed in 1.6.19.0
- Node.js: before 18.20.2; from 19.0.0 before 20.12.2; from 21.0.0 before 21.7.3 — fixed in 18.20.2, 20.12.2, 21.7.3
- PHP: before 8.1.28; from 8.2.0 before 8.2.18; from 8.3.0 before 8.3.6 — fixed in 8.1.28, 8.2.18, 8.3.6
- rust-lang rust: before 1.77.2 — fixed in 1.77.2
- yt-dlp: from 2021.04.11 before 2024.04.09 — fixed in 2024.04.09
How to fix
Upgrade to a fixed version: Haskell Process Library 1.6.19.0; Node.js 18.20.2, 20.12.2, 21.7.3; PHP 8.1.28, 8.2.18, 8.3.6; rust-lang rust 1.77.2; yt-dlp 2024.04.09. Check the vendor advisory for mitigations.
References
- https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/
- https://kb.cert.org/vuls/id/123335
- https://learn.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
- https://www.cve.org/CVERecord?id=CVE-2024-1874
- https://www.cve.org/CVERecord?id=CVE-2024-22423
- https://www.cve.org/CVERecord?id=CVE-2024-24576
- https://www.kb.cert.org/vuls/id/123335
- https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/
- https://github.com/nu11secur1ty/Windows11Exploits/tree/main/2024/CVE-2024-3566
- https://kb.cert.org/vuls/id/123335
- https://learn.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way
- https://www.cve.org/CVERecord?id=CVE-2024-1874
Get alerted when CVE-2024-3566 or the next vulnerability affects your stack