First published: Wed Oct 02 2024(Updated: )
XZ Utils provide 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 5.6.2 and older have a command line argument injection vulnerability. If a command line contains Unicode characters (for example, filenames) that don't exist in 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. This vulnerability is fixed in 5.6.3. Command line tools built for Cygwin or MSYS2 are unaffected. liblzma is unaffected.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Xz-utils | <5.6.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-47611 is classified as a medium severity vulnerability affecting XZ Utils.
To fix CVE-2024-47611, update XZ Utils to version 5.6.3 or later.
CVE-2024-47611 is a command line argument injection vulnerability that affects XZ Utils.
XZ Utils versions 5.6.2 and older are affected by CVE-2024-47611.
CVE-2024-47611 impacts XZ Utils when built for native Windows using MinGW-w64 or MSVC.