CVE-2024-47611

Name
CVE-2024-47611
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/tukaani-project/xz/security/advisories/GHSA-m538-c5qw-3cg4
MISC https://github.com/tukaani-project/xz/commit/bf518b9ba446327a062ddfe67e7e0a5baed2394f

Match rules

CPE URI Source package Min version Max version
xz >= 0 < 5.6.3
cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:* xz >= 0 < 5.6.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xz 3.20-main 5.6.2-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
xz 3.19-main 5.4.5-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
xz 3.18-main 5.4.3-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
xz 3.17-main 5.2.9-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable