How to fix CVE-2024-3094 – Step-by-Step Guide
CVE-2024-3094, the XZ Utils Backdoor, is a critical supply chain vulnerability (CVSS 10.0). It involves a malicious backdoor inserted into XZ Utils versions 5.6.0 and 5.6.1. This vulnerability could allow unauthorized remote access to affected systems.
What is XZ Utils Backdoor – Supply Chain Attack?
This supply chain attack introduced a sophisticated backdoor into XZ Utils (liblzma) versions 5.6.0 and 5.6.1. The malicious code was designed to interfere with systemd-linked sshd processes. It allowed a remote attacker to gain unauthorized access to the system.
Impact and Risks for your Infrastructure
Systems running XZ Utils 5.6.0 or 5.6.1 with systemd-linked sshd are at critical risk of unauthorized remote access. This could lead to full system compromise and data exfiltration. While discovered early, immediate action is crucial to prevent potential breaches.
Step-by-Step Mitigation Guide
Immediately downgrade XZ Utils to version 5.4.6 or update to 5.6.2+. Verify your system is not running affected versions using `xz --version` or by checking package manager logs. Ensure `liblzma` is also updated to a safe version.
- 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.