GLSA-202403-04 : XZ utils: Backdoor in release tarballs

critical Nessus Plugin ID 192734

Description

The remote host is affected by the vulnerability described in GLSA-202403-04 (XZ utils: Backdoor in release tarballs)

- 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. (CVE-2024-3094)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All XZ utils users should downgrade to the latest version before the backdoor was introduced:

# emerge --sync # emerge --ask --oneshot --verbose <app-arch/xz-utils-5.6.0

See Also

https://security.gentoo.org/glsa/202403-04

https://bugs.gentoo.org/show_bug.cgi?id=928134

Plugin Details

Severity: Critical

ID: 192734

File Name: gentoo_GLSA-202403-04.nasl

Version: 1.3

Type: local

Published: 4/1/2024

Updated: 6/7/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 10.0

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-3094

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:xz-utils

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/29/2024

Vulnerability Publication Date: 3/29/2024

Reference Information

CVE: CVE-2024-3094

IAVA: 2024-A-0327