xz Utils backdoor (CVE-2024-3094)
Over more than two years a contributor persona, Jia Tan, earned the trust of the volunteer maintainer of the xz Utils compression library, which sits underneath the SSH server on several Linux distributions, and in February and March 2024 shipped two releases carrying a backdoorresearch!rsc 2024
- EventThe Jia Tan persona sends a first, innocuous patch to xz-devel. research!rsc 2024
- EventFirst evidence that Jia Tan has direct commit access. research!rsc 2024
- EventJia Tan builds a first release (5.4.2). research!rsc 2024
- IntroducedBackdoored release 5.6.0 published. research!rsc 2024
- IntroducedBackdoored release 5.6.1 published. research!rsc 2024
- DiscoveredAndres Freund identifies the backdoor while investigating ssh CPU use and valgrind errors. research!rsc 2024
oss-security mailing lis… 2024 - ReportedPrivate report to Debian and the distros@openwall list; Red Hat assigns CVE-2024-3094. research!rsc 2024
- PatchedDebian rolls back to a 5.4.5-based package before public disclosure. research!rsc 2024
- DisclosedPublic disclosure on oss-security. oss-security mailing lis… 2024
- AnnouncedCISA alert advises downgrading to an uncompromised version. Cybersecurity and Infras… 2024
- AnnouncedRed Hat warns Fedora Rawhide and Fedora 40 beta users; RHEL unaffected. Red Hat blog 2024
research!rsc 2024 - MitigatedDebian halts builds to rebuild its build machines. research!rsc 2024
- PatchedClean upstream XZ Utils releases. tukaani.org 2024
What it did
The backdoor reached development and pre-release channels such as Debian unstable and testing, Fedora Rawhide and Fedora 40 beta, while no RHEL version was affectedRed Hat blog 2024
What it teaches
Trust can be built patiently: the campaign ran 848 days (2.3 years) from first patch to backdoored release, and was caught 33 days after release by one engineer's curiosityresearch!rsc 2024