Ubuntu 4.10 / 5.04 : bzip2 vulnerability (USN-161-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 :

USN-158-1 fixed a command injection vulnerability in the 'zgrep'
utility. It was determined that the 'bzgrep' counterpart in the bzip2
package is vulnerable to the same flaw.

bzgrep did not handle shell metacharacters like '|' and '&' properly
when they occurred in input file names. This could be exploited to
execute arbitrary commands with user privileges if bzgrep was run in
an untrusted directory with specially crafted file names.

Solution :

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

Risk factor :

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

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 20567 ()

Bugtraq ID:

CVE ID: CVE-2005-0758