
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-3566 is a command injection vulnerability that affects Windows applications that indirectly depend on the CreateProcess function. The vulnerability was discovered in April 2024 and affects multiple programming languages including Node.js, Haskell, Rust, PHP, and yt-dlp when running on Windows systems (CERT VU, Flatt Tech).
The vulnerability occurs when Windows applications execute commands through CreateProcess function, which implicitly spawns cmd.exe for batch files execution. The issue arises from programming languages' failure to properly escape command arguments in the Windows command execution environment, particularly when handling batch files (.bat, .cmd). The vulnerability has received a CVSS 3.1 Base Score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).
Successful exploitation of this vulnerability allows attackers to execute arbitrary commands on affected systems. The complete impact depends on the specific implementation using a vulnerable programming language or module (CERT VU).
Mitigation strategies include updating the runtime environment to patched versions where available, manually escaping command arguments when executing batch files with user-controlled input, and specifying file extensions explicitly when executing commands. For applications that don't want to execute batch files, it's recommended to always specify the .exe extension. Users should consider moving batch files to directories not included in the PATH environment variable (Flatt Tech).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."