Ubuntu 4.10 / 5.04 : bzip2 vulnerabilities (USN-127-1)

Medium Nessus Plugin ID 20517

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.3

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Imran Ghory discovered a race condition in the file permission restore code of bunzip2. While a user was decompressing a file, a local attacker with write permissions in the directory of that file could replace the target file with a hard link. This would cause bzip2 to restore the file permissions to the hard link target instead of to the bzip2 output file, which could be exploited to gain read or even write access to files of other users. (CAN-2005-0953)

Specially crafted bzip2 archives caused an infinite loop in the decompressor which resulted in an indefinitively large output file ('decompression bomb'). This could be exploited to a Denial of Service attack due to disk space exhaustion on systems which automatically process user-supplied bzip2 compressed files. (CAN-2005-1260).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected bzip2, libbz2-1.0 and / or libbz2-dev packages.

Plugin Details

Severity: Medium

ID: 20517

File Name: ubuntu_USN-127-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 2006/01/15

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 5.3

CVSS v2.0

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:bzip2, p-cpe:/a:canonical:ubuntu_linux:libbz2-1.0, p-cpe:/a:canonical:ubuntu_linux:libbz2-dev, cpe:/o:canonical:ubuntu_linux:4.10, cpe:/o:canonical:ubuntu_linux:5.04

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2005/05/17

Reference Information

CVE: CVE-2005-0953, CVE-2005-1260

USN: 127-1