Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CVE-2024-47611
Summary
XZ Utils provides a general-purpose data-compression library plus command-line tools. When built for native Windows (MinGW-w64 or MSVC), the command line tools from XZ Utils have a command line argument injection vulnerability. If a command line contains Unicode characters (for example, filenames) that don't exist on the current legacy code page, the characters are converted to similar-looking characters with best-fit mapping. Some best-fit mappings result in ASCII characters that change the meaning of the command line, which can be exploited with malicious filenames to do argument injection or directory traversal attacks. Command line tools built for Cygwin or MSYS2 are unaffected. Liblzma is unaffected. This issue affects the package xz versions prior to 5.6.3, and 5.7.0alpha.
- LOW
- NETWORK
- NONE
- NONE
CWE-88 - Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
The software constructs a string for a command to executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
References
Advisory Timeline
- Published