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

Medium Nessus Plugin ID 18307


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


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.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 18307

File Name: mandrake_MDKSA-2005-091.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2005/05/19

Modified: 2013/05/31

Dependencies: 12634

Risk Information

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: 2005/05/18

Reference Information

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

MDKSA: 2005:091