UBUNTU-CVE-2024-3094

Source
https://ubuntu.com/security/CVE-2024-3094
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3094.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-3094
Related
Published
2024-03-29T17:15:00Z
Modified
2024-11-20T12:28:47Z
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
[none]
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.

References

Affected packages

Ubuntu:20.04:LTS / xz-utils

Package

Name
xz-utils
Purl
pkg:deb/ubuntu/xz-utils?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.4-1ubuntu1.1

Affected versions

5.*

5.2.4-1
5.2.4-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "critical",
    "binaries": [
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "liblzma-dev"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "liblzma-doc"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "liblzma5"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "liblzma5-dbgsym"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "xz-utils"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "xz-utils-dbgsym"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "xzdec"
        },
        {
            "binary_version": "5.2.4-1ubuntu1.1",
            "binary_name": "xzdec-dbgsym"
        }
    ],
    "priority_reason": "Results in a backdoor in sshd"
}

Ubuntu:22.04:LTS / xz-utils

Package

Name
xz-utils
Purl
pkg:deb/ubuntu/xz-utils?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.5-2ubuntu1

Affected versions

5.*

5.2.5-2
5.2.5-2build1
5.2.5-2build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "critical",
    "binaries": [
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "liblzma-dev"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "liblzma-doc"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "liblzma5"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "liblzma5-dbgsym"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "xz-utils"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "xz-utils-dbgsym"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "xzdec"
        },
        {
            "binary_version": "5.2.5-2ubuntu1",
            "binary_name": "xzdec-dbgsym"
        }
    ],
    "priority_reason": "Results in a backdoor in sshd"
}

Ubuntu:24.04:LTS / xz-utils

Package

Name
xz-utils
Purl
pkg:deb/ubuntu/xz-utils?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.5-0.3

Affected versions

5.*

5.4.1-0.2
5.4.4-0.1
5.4.5-0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "critical",
    "binaries": [
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "liblzma-dev"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "liblzma-doc"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "liblzma5"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "liblzma5-dbgsym"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "xz-utils"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "xz-utils-dbgsym"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "xzdec"
        },
        {
            "binary_version": "5.4.5-0.3",
            "binary_name": "xzdec-dbgsym"
        }
    ],
    "priority_reason": "Results in a backdoor in sshd"
}