CVE-2024-47611XZ Utils on Microsoft Windows platform are vulnerable to argument injection
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | xz-utils | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xz-utils | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 10 | xz | Not affected | ||
| Red Hat Enterprise Linux 10 | xz-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | xz-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | xz-lzma-compat | Not affected | ||
| Red Hat Enterprise Linux 9 | xz | Not affected | ||
| Red Hat Enterprise Linux 9 | xz-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | xz-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | xz-lzma-compat | Not affected | ||
| Red Hat Enterprise Linux 8 | xz | Not affected | ||
| Red Hat Enterprise Linux 8 | xz-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | xz-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | xz-lzma-compat | Not affected | ||
| Red Hat Enterprise Linux 7 | xz | Not affected | ||
| Red Hat Enterprise Linux 7 | xz-compat-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | xz-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | xz-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | xz-lzma-compat | Not affected |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tukaani-project xz: affected: < 5.6.3
References
- https://github.com/tukaani-project/xz/security/advisories/GHSA-m538-c5qw-3cg4
- https://github.com/tukaani-project/xz/commit/bf518b9ba446327a062ddfe67e7e0a5baed2394f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.