CVE-2024-3094

Xz: malicious code in distributed source

Description

Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.

Category

10.0
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 84.43% Top 5%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory tukaani.org
Affected: Red Hat Red Hat Enterprise Linux 6
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat Enterprise Linux 8
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/security/cve/CVE-2024-3094 vdb entry vendor advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2272210 vendor advisory issue tracking
https://www.openwall.com/lists/oss-security/2024/03/29/4 mailing list
https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users vendor advisory
http://www.openwall.com/lists/oss-security/2024/03/29/10
http://www.openwall.com/lists/oss-security/2024/03/29/12
http://www.openwall.com/lists/oss-security/2024/03/29/4
http://www.openwall.com/lists/oss-security/2024/03/29/5
http://www.openwall.com/lists/oss-security/2024/03/29/8
http://www.openwall.com/lists/oss-security/2024/03/30/12
http://www.openwall.com/lists/oss-security/2024/03/30/27
http://www.openwall.com/lists/oss-security/2024/03/30/36
http://www.openwall.com/lists/oss-security/2024/03/30/5
http://www.openwall.com/lists/oss-security/2024/04/16/5
https://ariadne.space/2024/04/02/the-xz-utils-backdoor-is-a-symptom-of-a-larger-problem/
https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/ third party advisory
https://aws.amazon.com/security/security-bulletins/AWS-2024-002/ third party advisory
https://blog.netbsd.org/tnf/entry/statement_on_backdoor_in_xz
https://boehs.org/node/everything-i-know-about-the-xz-backdoor third party advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024 mailing list vendor advisory
https://bugs.gentoo.org/928134 issue tracking third party advisory
https://bugzilla.suse.com/show_bug.cgi?id=1222124 issue tracking third party advisory
https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405 third party advisory
https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27 third party advisory
https://github.com/advisories/GHSA-rxwq-x6h5-x525 third party advisory
https://github.com/amlweems/xzbot
https://github.com/karcherm/xz-malware third party advisory
https://gynvael.coldwind.pl/?lang=en&id=782 technical description third party advisory
https://lists.debian.org/debian-security-announce/2024/msg00057.html mailing list third party advisory
https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html third party advisory
https://lwn.net/Articles/967180/ issue tracking third party advisory
https://news.ycombinator.com/item?id=39865810 issue tracking third party advisory
https://news.ycombinator.com/item?id=39877267 issue tracking
https://news.ycombinator.com/item?id=39895344
https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094/ third party advisory
https://research.swtch.com/xz-script
https://research.swtch.com/xz-timeline
https://security-tracker.debian.org/tracker/CVE-2024-3094 third party advisory
https://security.alpinelinux.org/vuln/CVE-2024-3094 third party advisory
https://security.archlinux.org/CVE-2024-3094 third party advisory
https://security.netapp.com/advisory/ntap-20240402-0001/
https://tukaani.org/xz-backdoor/ issue tracking vendor advisory
https://twitter.com/LetsDefendIO/status/1774804387417751958 third party advisory
https://twitter.com/debian/status/1774219194638409898 press/media coverage
https://twitter.com/infosecb/status/1774595540233167206 press/media coverage
https://twitter.com/infosecb/status/1774597228864139400 press/media coverage
https://ubuntu.com/security/CVE-2024-3094 third party advisory
https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094 third party advisory us government resource
https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils third party advisory
https://www.kali.org/blog/about-the-xz-backdoor/
https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdoor-in-xz-utils third party advisory
https://www.theregister.com/2024/03/29/malicious_backdoor_xz/ press/media coverage
https://www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094
https://xeiaso.net/notes/2024/xz-vuln/ third party advisory

Frequently Asked Questions

What is the severity of CVE-2024-3094?
CVE-2024-3094 has been scored as a critical severity vulnerability.
How to fix CVE-2024-3094?
To fix CVE-2024-3094, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-3094 being actively exploited in the wild?
It is possible that CVE-2024-3094 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~84% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3094?
CVE-2024-3094 affects Red Hat Red Hat Enterprise Linux 6, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat Enterprise Linux 8, Red Hat Red Hat Enterprise Linux 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.