Mandrake Linux Security Advisory : bzip2 (MDKSA-2005:091)

medium Nessus Plugin ID 18307

Synopsis

The remote Mandrake Linux host is missing one or more security updates.

Description

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

A vulnerability was found where specially crafted bzip2 archives would cause an infinite loop in the decompressor, resulting in an indefinitively large output file (also known as a 'decompression bomb'). This could be exploited to cause a Denial of Service attack on the host computer due to disk space exhaustion (CVE-2005-1260).

The provided packages have been patched to correct these issues.

Solution

Update the affected packages.

Plugin Details

Severity: Medium

ID: 18307

File Name: mandrake_MDKSA-2005-091.nasl

Version: 1.16

Type: local

Published: 5/19/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:bzip2, p-cpe:/a:mandriva:linux:lib64bzip2_1, p-cpe:/a:mandriva:linux:lib64bzip2_1-devel, p-cpe:/a:mandriva:linux:libbzip2_1, p-cpe:/a:mandriva:linux:libbzip2_1-devel, cpe:/o:mandrakesoft:mandrake_linux:10.0, cpe:/o:mandrakesoft:mandrake_linux:10.1, x-cpe:/o:mandrakesoft:mandrake_linux:le2005

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 5/18/2005

Reference Information

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

MDKSA: 2005:091