CVE-2024-3094
published critical CVSS 3.1 · 10.0Xz: malicious code in distributed source
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | xz5.6.0 · 5.6.1 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9, 10 | xz | Unaffected | Not required | redhat |
| Red Hat | — | xzRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | xz | Fixed | 5.6.1-r2 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | xzaarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| Debian | unknown | xz-utils | Listed in advisory | Not stated | DSA-5649-1 |
Show 36 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | xz | Fixed | 5.6.1-r2 | Package fix record |
| Alpine Linux | v3.21 | xz | Fixed | 5.6.1-r2 | Package fix record |
| Alpine Linux | v3.22 | xz | Fixed | 5.6.1-r2 | Package fix record |
| Alpine Linux | v3.23 | xz | Fixed | 5.6.1-r2 | Package fix record |
| Alpine Linux | v3.24 | xz | Fixed | 5.6.1-r2 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | xzppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xzs390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xzx86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| Alpine Linux | v3.15 | lighttpd | Fixed | 1.4.76-r0 | Package fix record |
| Alpine Linux | v3.16 | lighttpd | Fixed | 1.4.76-r0 | Package fix record |
| Alpine Linux | v3.17 | lighttpd | Fixed | 1.4.76-r0 | Package fix record |
| Alpine Linux | v3.18 | lighttpd | Fixed | 1.4.76-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5aarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5ppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5s390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5x86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-32bitaarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-32bitppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-32bits390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-32bitx86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-x86-64-v3aarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-x86-64-v3ppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-x86-64-v3s390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblzma5-x86-64-v3x86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-develaarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-develppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-devels390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-develx86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-devel-32bitaarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-devel-32bitppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-devel-32bits390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-devel-32bitx86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-langaarch64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-langppc64le | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-langs390x | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xz-langx86_64 | Advisory build | 5.6.2-1.1 | OPENSUSE-SU-2024:14017-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xz | 5.6.0 (affected)5.6.1 (affected)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-506 Embedded Malicious Code
References
55- 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://access.redhat.com/security/cve/CVE-2024-3094
- 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/
- https://aws.amazon.com/security/security-bulletins/AWS-2024-002/
- https://blog.netbsd.org/tnf/entry/statement_on_backdoor_in_xz
- https://boehs.org/node/everything-i-know-about-the-xz-backdoor
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024
- https://bugs.gentoo.org/928134
- RHBZ#2272210 https://bugzilla.redhat.com/show_bug.cgi?id=2272210
- https://bugzilla.suse.com/show_bug.cgi?id=1222124
- https://discourse.nixos.org/t/cve-2024-3094-malicious-code-in-xz-5-6-0-and-5-6-1-tarballs/42405
- https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27
- https://github.com/advisories/GHSA-rxwq-x6h5-x525
- https://github.com/amlweems/xzbot
- https://github.com/karcherm/xz-malware
- https://gynvael.coldwind.pl/?lang=en&id=782
- https://lists.debian.org/debian-security-announce/2024/msg00057.html
- https://lists.freebsd.org/archives/freebsd-security/2024-March/000248.html
- https://lwn.net/Articles/967180/
- https://news.ycombinator.com/item?id=39865810
- https://news.ycombinator.com/item?id=39877267
- https://news.ycombinator.com/item?id=39895344
- https://openssf.org/blog/2024/03/30/xz-backdoor-cve-2024-3094/
- https://research.swtch.com/xz-script
- https://research.swtch.com/xz-timeline
- https://security-tracker.debian.org/tracker/CVE-2024-3094
- https://security.alpinelinux.org/vuln/CVE-2024-3094
- https://security.archlinux.org/CVE-2024-3094
- https://security.netapp.com/advisory/ntap-20240402-0001/
- https://tukaani.org/xz-backdoor/
- https://twitter.com/LetsDefendIO/status/1774804387417751958
- https://twitter.com/debian/status/1774219194638409898
- https://twitter.com/infosecb/status/1774595540233167206
- https://twitter.com/infosecb/status/1774597228864139400
- https://ubuntu.com/security/CVE-2024-3094
- https://www.binarly.io/blog/persistent-risk-xz-utils-backdoor-still-lurking-in-docker-images
- https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094
- https://www.darkreading.com/vulnerabilities-threats/are-you-affected-by-the-backdoor-in-xz-utils
- https://www.kali.org/blog/about-the-xz-backdoor/
- https://www.openwall.com/lists/oss-security/2024/03/29/4
- https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users
- https://www.tenable.com/blog/frequently-asked-questions-cve-2024-3094-supply-chain-backdoor-in-xz-utils
- https://www.theregister.com/2024/03/29/malicious_backdoor_xz/
- https://www.vicarius.io/vsociety/vulnerabilities/cve-2024-3094
- https://xeiaso.net/notes/2024/xz-vuln/
Provider assertions
3redhat · cna
Xz: malicious code in distributed source
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 810f64ef61b9795a6447cc15e1a497c5e15216fc9f79d7e54c14be32fc13327d
- Ingested
- 23 Nov 2026, 14:48:45 UTC
- Source record
- Official CVE record