CVE-2024-47611CWE-176CWE-88

XZ Utils on Microsoft Windows platform are vulnerable to argument injection

Medium · published October 2, 2024

CVSS v4.0
6.3
EPSS
1%
Percentile
54.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS
0.00756 · 54.6th percentile
Weaknesses
CWE-176 · Improper Handling of Unicode Encoding; CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Published
2024-10-02T14:16Z
EPSS history
Timeline
  • 02 OCT 14:16Z
    XZ Utils on Microsoft Windows platform are vulnerable to argument injection
    cvelistv5