Critical10.0PATCH AVAILABLE
CVE-2024-3094
XZ Utils liblzma backdoor in the 5.6.0 and 5.6.1 release tarballs
genericxzPublished 2024-03-29
CVSS v3.1 Score
10.0
Critical
CISA KEV
Not listed
Fixed in
5.6.2
xz
Remediation Guide
How to Fix This Vulnerability
Upgrade xz to a fixed version
5.6.2
Remediation Steps
- 1Downgrade xz and liblzma to an unaffected release such as 5.4.6, or move to 5.6.2 or later, from your distribution or from a source you verified.
- 2Rebuild and redeploy anything that statically bundled liblzma 5.6.0 or 5.6.1, including container images built in the affected window (roughly 24 February to 29 March 2024).
- 3Check hosts that run sshd linked against liblzma through libsystemd. Treat a host that ran an affected build as exposed and rotate the keys and secrets it held.
Description
Malicious code was found in the upstream release tarballs of xz 5.6.0 and 5.6.1 (the liblzma library). Through a series of complex obfuscations, the build process extracts a prebuilt object file from a disguised test file and uses it to modify liblzma during the build. The modified library can be used by any software linked against it, and in sshd builds that link liblzma through libsystemd it can intercept and modify data, enabling unauthorized remote access. The code is not in the project's git source, only in the release tarballs.
Affected Software
Affected Packages & Versions
genericxz
Affected Versions: >= 5.6.0, < 5.6.2
Fixed Versions: 5.6.2
Am I affected?
Enter the version of xz you have installed to check it against this advisory.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExternal Resources
References & Resources
- nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2024-3094Reference
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2024/03/29/4Reference
- www.cisa.govhttps://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094Reference
▪ Common questions
How severe is CVE-2024-3094?
CVE-2024-3094 is rated CRITICAL with a CVSS score of 10.
Which packages are affected by CVE-2024-3094?
CVE-2024-3094 affects xz in the generic ecosystem. Affected versions: >= 5.6.0, < 5.6.2.
How do I fix CVE-2024-3094?
Upgrade xz to 5.6.2.
What kind of weakness is CVE-2024-3094?
CVE-2024-3094 is classified as CWE-506 — XZ Utils liblzma backdoor in the 5.6.0 and 5.6.1 release tarballs.