ubuntu-cve-2024-3094
Vulnerability from osv_ubuntu
Published
2024-03-29 17:15
Modified
2025-07-16 05:12
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "5.2.4-1ubuntu1.1"
          }
        ],
        "priority_reason": "Results in a backdoor in sshd"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "xz-utils",
        "purl": "pkg:deb/ubuntu/xz-utils@5.2.4-1ubuntu1.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.2.4-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.2.4-1",
        "5.2.4-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "5.2.5-2ubuntu1"
          }
        ],
        "priority_reason": "Results in a backdoor in sshd"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "xz-utils",
        "purl": "pkg:deb/ubuntu/xz-utils@5.2.5-2ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.2.5-2ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.2.5-2",
        "5.2.5-2build1",
        "5.2.5-2build2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "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",
            "binary_version": "5.4.5-0.3"
          }
        ],
        "priority_reason": "Results in a backdoor in sshd"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "xz-utils",
        "purl": "pkg:deb/ubuntu/xz-utils@5.4.5-0.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.4.5-0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.4.1-0.2",
        "5.4.4-0.1",
        "5.4.5-0.1"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2024-3094",
  "modified": "2025-07-16T05:12:05Z",
  "published": "2024-03-29T17:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-3094"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2024/03/29/4"
    },
    {
      "type": "REPORT",
      "url": "https://discourse.ubuntu.com/t/xz-liblzma-security-update/43714"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-3094"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "critical",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-3094"
  ],
  "withdrawn": "2025-07-18T16:56:17Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…