CVE-2024-3094CWE-506

Xz: malicious code in distributed source

Critical · published March 29, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.8th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
91%
Percentile
99.8
In the wild
Unconfirmed
What it is

🚨 Malicious code has made its way into the upstream tarballs of xz, starting from version 5.6.0! How sneaky is that? 🔥 Think of this as a chef hiding a spoiled ingredient in an otherwise delicious recipe. The liblzma build process extracts this disguised file, modifying the library's functions and creating a dish no one really wanted! An attacker could exploit this vulnerability to intercept and modify any data processed through the liblzma library, potentially leading to devastating data breaches or corrupting critical software functions. Imagine critical applications being fed false data or manipulated information — a nightmare scenario for any developer!

Put simply

Think of this as a chef hiding a spoiled ingredient in an otherwise delicious recipe. The liblzma build process extracts this disguised file, modifying the library's functions and creating a dish no one really wanted! This critical vulnerability allows malicious code hidden within a test file in the source code to be extracted and executed, resulting in a compromised liblzma library. Any software linked against this modified library can be affected, allowing attackers a backdoor into data interactions.

What to do

An attacker could exploit this vulnerability to intercept and modify any data processed through the liblzma library, potentially leading to devastating data breaches or corrupting critical software functions. Imagine critical applications being fed false data or manipulated information — a nightmare scenario for any developer! Developers should immediately upgrade to the latest version of xz that patches this vulnerability. Verify any upstream tarballs you are using, and consider implementing additional code integrity checks to catch any hidden modifications in the future. You've got this! Follow these steps, and you'll keep your applications safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.90900 · 99.8th percentile
Weakness
CWE-506 · Embedded Malicious Code
Published
2024-03-29T16:51Z
EPSS history
Timeline
  • 29 MAR 16:51Z
    Xz: malicious code in distributed source
    cvelistv5