Get a Demo
Under Attack?
A beach scene with palm trees and a surfboard in the background. In the foreground, a red sign displays a warning about the critical vulnerability XZ Utils SSHD Backdoor with CVE-2024-3094, and the Upwind logo is in the top right corner.

CVE-2024-3094: How to Protect Against the SSHD Backdoor Found in XZ Utilities

<br />
<b>Warning</b>:  Undefined variable $photo in <b>/nas/content/live/landing173/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>24</b><br />
<br />
<b>Warning</b>:  Trying to access array offset on value of type null in <b>/nas/content/live/landing173/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>24</b><br />
Denise Ashur March 30, 2024

CVE-2024-3094: How to Protect Against the SSHD Backdoor Found in XZ Utilities

CVE: CVE-2024-3094

Affected versions: 5.6.0, 5.6.1

Affected Distributions: Fedora 41, Fedora Rawhide, Alpine, openSUSE, Debian experimental distributions versions 5.5.1alpha-0.1 to 5.6.1-1.

On March 29, 2024, CISA warned of a malicious backdoor in the popular data compression software library XZ Utils. The vulnerability has been designated as CVE-2024-3094, and has been assigned a CVSS (Common Vulnerability Scoring System) score of 10.0. 

CVE-2024-3094: the Linux Backdoor 

The malicious actor injected code into the authentication process, allowing attackers  to gain remote backdoor access via OpenSSH and systemd. The XZ utility includes a library called liblzma, used by SSHD, a core service of Linux servers in the cloud infrastructure used for remote access. When liblzma is loaded, CVE-2024-3094 affects SSHD authentication and could potentially allow bad actors remote access.

The backdoor was discovered by AndresFreundTec by email to the oss-security mailing list: backdoor in upstream xz/liblzma leading to SSH server compromise, announcing this discovery and explaining the exploit chain.

p6Pj5w-_bmQb3WsgSvy6qk-01gpWxTnabHNLHNQe7FFfXl4AHWDxR72HAXqUIinf4OZBjP_-7uPZEFzWWK8gxU6TCnckn74gjRFvF4R3xv79coFEHedQLtPCMXlWoub-kEEDON9PPZnx5T8ao7jlDK8

The backdoor works as follows – Linux machines install the backdoored xz library (liblzma, xz, or xz-utils) and the dependency is used by the OpenSSH daemon. When SSHD loads the malicious library, the backdoored xz library interacts with the daemon and redirects the authentication flow during the RSA key checking. Once the XZ library has control over the authentication flow, it can grant access based on an attacker’s criteria and allow them to gain remote control.

Impacted Linux Distros

Red Hat: vulnerable packages are present in Red Hat Fedora 41 and Red Hat Fedora Rawhide. Red Hat Enterprise Linux (RHEL) does not have any affected versions. Red Hat has recommended that all users stop using the affected versions until they can change the xz version. 

SUSE: There is an update available for openSUSE (Tumbleweed or MicroOS). 

Debian Linux: No stable versions of the distribution have been affected, but compromised packages were present for other versions (testing, unstable, experimental). Debian users should update XZ Utils.

Kali Linus: For those who updated systems between March 26-29, 2024, they should update again for the fix. If you have not updated Kali since before the 26th, it is not affected by the backdoor.

How to Find and Mitigate CVE-2024-3094

CVE-2024-3094 is present in XZ Utils versions 5.6.0 and 5.6.1. The US Cybersecurity and Infrastructure Security Agency (CISA) is advising users to downgrade UZ Utils to an earlier version (5.4.6 or a previous stable version) to avoid compromise.

Screenshot-2024-03-31-at-12.56.04%E2%80%AFAM-1024x610

Upwind automatically identifies XZ Ultils running in your environment through several ways:

Upwind Vulnerability Dashboard

Upwind’s vulnerability management capabilities immediately identify vulnerabilities in your environment, including XZ Utils. This is based on real-time, runtime data – alerting you immediately to critical risks such as XZ Utils in your environment. This is shown as a critical vulnerability that should be mitigated immediately, along with recommended fixes. 

photo_2024-03-31-00.43.26-1024x592

SSH Sessions Monitoring

Upwind’s SSH Sessions page shows you every action performed during an SSH session, which is a key aspect of exploitations involving the XZ Utils vulnerability. Upwind Packages Tab

Upwind’s Packages tab immediately shows you all packages running in your environment, allowing you to find vulnerable packages running in your environment instantly. You can use the packages tab to find all XZ Utils instances and rapidly identify where they exist in your environment.

For more information on how Upwind identifies critical vulnerabilities, visit the Upwind Documentation Center (login required) or drop us a line at [email protected]

Contents

Further Reading

upwind-identities

Introducing the Upwind Identity Graph: End-to-End Identity Security

Identity used to be treated as a directory problem: find the user, inspect the groups, review the assigned roles, and decide whether the account has too much access. That model no longer matches the cloud. A single person may authenticate through Okta, inherit permissions from multiple groups, receive role assignments in more than one cloud,…
AI-Graph

Introducing the Upwind AI Graph: Extending AI Inventory Beyond Cloud Infrastructure

As enterprise adoption of artificial intelligence accelerates, modern AI infrastructure has expanded far beyond traditional cloud perimeters. Securing enterprise AI today requires complete visibility across four distinct operational layers: Traditional cloud security tools stop at the cloud provider boundary. When enterprise teams connect directly to external AI Providers, security teams lose sight of access paths,…
ChatGPT Image Aug 4, 2026, 08_46_20 AM

Keyv Supply Chain Compromise: An npm Worm That Takes Its Orders From an Ethereum Smart Contract

Executive Summary On August 4, 2026 at 09:35 UTC, [email protected] was published to npm carrying a credential stealer, an npm worm, and a persistence mechanism designed to detonate during incident response.  Keyv ranks #274 by npm reach and is present in 84,759 customer environments, and the release shipped with valid GitHub OIDC provenance and a…
Add the Upwind RSS Feed to Slack
Connect the Upwind RSS Feed to your Slack.
Follow the how-to here.
Threat RSS
Add the Upwind RSS Feed to Slack
Connect the Upwind RSS Feed to your Slack.
Follow the how-to here.
Main RSS