How to fix CVE-2024-3094 – Step-by-Step Guide
CVE-2024-3094, known as the XZ Utils Backdoor, is a critical supply chain vulnerability (CVSS 10) affecting XZ Utils versions 5.6.0 and 5.6.1. This sophisticated attack introduced malicious code, posing a severe threat to system integrity.
What is XZ Utils Backdoor – Supply Chain Attack?
A sophisticated backdoor was maliciously inserted into XZ Utils (liblzma) versions 5.6.0 and 5.6.1. This supply chain attack, orchestrated by a compromised maintainer, aimed to enable unauthorized remote SSH access. The backdoor specifically targets systems using systemd-linked sshd, allowing a malicious actor to bypass authentication.
Impact and Risks for your Infrastructure
Systems running XZ Utils 5.6.0/5.6.1 with systemd-linked sshd are vulnerable to unauthorized remote SSH access, leading to complete system compromise. While critical, the backdoor was discovered early, limiting widespread exploitation. Immediate action is required to prevent potential data breaches and service disruption.
Step-by-Step Mitigation Guide
Immediately identify and downgrade XZ Utils to version 5.4.6 or upgrade to 5.6.2+. Verify your system's XZ Utils version using `xz --version` or your package manager. Ensure no compromised versions (5.6.0, 5.6.1) remain active to eliminate the backdoor risk.
- 1Downgrade XZ Utils to 5.4.6 or upgrade to 5.6.2+ immediately.
- 2Verify installed version: xz --version
- 3Audit system for indicators of compromise (IoC): check sshd binary hash.
- 4Rotate all SSH keys on affected systems.
- 5Implement software supply chain checks (SBOM, Sigstore, Trivy).
- 6Review and harden your CI/CD pipeline dependency management.