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

Ubuntu Security Notice (C) 2005-2013 Canonical, Inc. / NASL script (C) 2006-2013 Tenable Network Security, Inc.


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).

Solution :

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

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 20517 ()

Bugtraq ID:

CVE ID: CVE-2005-0953
CVE-2005-1260