Skip to main content
Mallory
← Back to News
vendor-distribution-compromisebuild-pipeline-compromiseopen-source-dependency-vulnerabilitywidely-deployed-product-advisory

XZ Utils Backdoor in Release Tarballs Threatened SSH Access on Linux Systems

Supply Chain Risk · 9 sources · Updated 3mo ago · First seen Feb 28, 2024

XZ Utils Backdoor in Release Tarballs Threatened SSH Access on Linux Systems

A malicious backdoor in XZ Utils versions 5.6.0 and 5.6.1 was identified as **CVE-2024-3094, with the tampering found in upstream release tarballs rather than the public Git repository. The compromised code targeted Linux distributions that linked liblzmainto patchedsshdbuilds, creating conditions for remote unauthorized access throughsystemd`-managed SSH authentication. Red Hat said affected packages appeared in Fedora Rawhide and Fedora 40 beta, while RHEL was not impacted, and it also cited evidence of successful malicious builds in Debian unstable (Sid).

Further analysis indicated the intrusion was a long-running open-source supply-chain operation tied to the contributor alias Jia Tan, using staged shell scripts and modified object files to activate malicious functionality during the build process. SentinelOne reported that 5.6.1 introduced a more modular mechanism capable of loading payloads from binary test files, suggesting the actor planned to add further vulnerabilities over time, and noted a suspicious February 2024 commit affecting LandLock as a possible sign of broader tampering. Vendors urged users to stop using affected Fedora builds and downgrade or revert to XZ 5.4.x while distributions investigated exposure and published recovery guidance.

Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · Oct 29, 2021 – Mar 29, 2024
  1. Reported Apr 10, 20243y ago

    xz 5.6.1 adds modular script-execution capability

    Version 5.6.1 added mechanisms to unpack and execute embedded scripts from test files during the build phase, expanding the attacker’s ability to deploy additional backdoors.

    XZ Utils Backdoor | Threat Actor Planned to Inject Further Vulnerabilities
  2. Reported Apr 10, 20243y ago

    xz 5.6.0 introduces backdoor injection code

    Version 5.6.0 of xz introduced repository code that enabled malicious backdoor injection during builds targeting Debian and Fedora distributions.

    XZ Utils Backdoor | Threat Actor Planned to Inject Further Vulnerabilities
  3. Reported Mar 29, 20243y ago

    Red Hat identifies affected Fedora 40 beta packages

    As of March 30, 2024, Red Hat determined that Fedora Linux 40 beta contained affected xz library packages xz-libs-5.6.0-1.fc40.x86_64.rpm and xz-libs-5.6.0-2.fc40.x86_64.rpm, while noting the actual exploit did not appear active there.

    Urgent security alert for Fedora 40 and Fedora Rawhide users
  4. Reported Mar 29, 20243y ago

    Fedora 40 revert update to xz 5.4.x is published

    An update reverting Fedora Linux 40 to xz 5.4.x was published through the normal update system as a mitigation for the malicious upstream packages.

    Urgent security alert for Fedora 40 and Fedora Rawhide users
  5. Reported Mar 29, 20243y ago

    Red Hat warns Fedora users and publishes downgrade guidance

    Red Hat issued an urgent alert instructing Fedora Rawhide users to stop using affected instances and advising Fedora 40 users to downgrade to xz 5.4.x; it also stated that RHEL was unaffected.

    Urgent security alert for Fedora 40 and Fedora Rawhide users
  6. Reported Mar 29, 20243y ago

    CVE-2024-3094 is assigned to the xz backdoor

    The malicious xz issue was assigned CVE-2024-3094 after discovery of the backdoored code in upstream release tarballs.

    Urgent security alert for Fedora 40 and Fedora Rawhide users
  7. Reported Mar 29, 20243y ago

    Malicious code in xz 5.6.0 and 5.6.1 is discovered

    Red Hat reported that malicious code intended to allow unauthorized access was discovered in upstream xz tools and libraries, specifically versions 5.6.0 and 5.6.1.

    Urgent security alert for Fedora 40 and Fedora Rawhide users
  8. Mar 29, 20243y ago

    Andres Freund discloses xz backdoor on oss-security

    On the oss-security mailing list, Andres Freund reported that upstream xz/liblzma 5.6.0 and 5.6.1 release artifacts were backdoored and could lead to OpenSSH server compromise. He described the malicious build-time script injection and said the behavior appeared to enable pre-auth unauthorized access or remote code execution under specific conditions.

    oss-security - backdoor in upstream xz/liblzma leading to ssh server compromise
  9. Feb 28, 20243y ago

    Commit breaks xz LandLock support checker

    A commit on February 28, 2024 broke the C program used to check LandLock support in xz utils, which the analysis flags as suspicious and potentially related to the attacker’s activity.

    XZ Utils Backdoor | Threat Actor Planned to Inject Further Vulnerabilities
  10. Oct 29, 20215y ago

    Jia Tan begins contributing to the xz project

    The actor operating under the alias Jia Tan began contributing to the xz project, marking the start of the long-running compromise effort described in the analysis.

    XZ Utils Backdoor | Threat Actor Planned to Inject Further Vulnerabilities
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Vulnerabilities

1 linked

Affected products

2 linked
FedoraDebian

Organizations

2 linked
Fedora ProjectDebian Project

Observables

15 linked

Indicator values are masked on this page. View all 15 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.