CVE-2024-3094

Source
https://cve.org/CVERecord?id=CVE-2024-3094
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3094.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-3094
Aliases
  • GHSA-rxwq-x6h5-x525
Downstream
ALPINE (1)
BELL (1)
CGA (4)
DEBIAN (1)
JLSEC (1)
openSUSE (1)
UBUNTU (1)
Related
Published
2024-03-29T16:51:12Z
Modified
2026-08-29T11:30:23Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Xz: malicious code in distributed source
Details

Malicious code was discovered in the upstream tarballs of xz, starting with version 5.6.0. Through a series of complex obfuscations, the liblzma build process extracts a prebuilt object file from a disguised test file existing in the source code, which is then used to modify specific functions in the liblzma code. This results in a modified liblzma library that can be used by any software linked against this library, intercepting and modifying the data interaction with this library.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-506"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3094.json"
}
References

Affected packages

Git / github.com/tukaani-project/xz

Affected ranges

Type
GIT
Repo
https://github.com/tukaani-project/xz
Events
Database specific
Show details
{
    "cpe":  [
        "cpe:2.3:a:tukaani:xz:5.6.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:tukaani:xz:5.6.1:*:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "5.6.0"
        },
        {
            "last_affected":  "5.6.0"
        },
        {
            "introduced":  "5.6.1"
        },
        {
            "last_affected":  "5.6.1"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

5.*
5.6.0
5.6.1
v5.*
v5.6.0
v5.6.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-3094.json"