RHEL 2.1 / 3 / 4 : bzip2 (RHSA-2005:474)

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Updated bzip2 packages that fix multiple issues are now available.

This update has been rated as having low security impact by the Red
Hat Security Response Team.

[Updated 13 February 2006] Replacement bzip2 packages for Red Hat
Enterprise Linux 4 have been created as the original erratum packages
did not fix CVE-2005-0758.

Bzip2 is a data compressor.

A bug was found in the way bzgrep processes file names. If a user can
be tricked into running bzgrep on a file with a carefully crafted file
name, arbitrary commands could be executed as the user running bzgrep.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CVE-2005-0758 to this issue.

A bug was found in the way bzip2 modifies file permissions during
decompression. If an attacker has write access to the directory into
which bzip2 is decompressing files, it is possible for them to modify
permissions on files owned by the user running bzip2 (CVE-2005-0953).

A bug was found in the way bzip2 decompresses files. It is possible
for an attacker to create a specially crafted bzip2 file which will
cause bzip2 to cause a denial of service (by filling disk space) if
decompressed by a victim (CVE-2005-1260).

Users of Bzip2 should upgrade to these updated packages, which contain
backported patches to correct these issues.

See also :

https://www.redhat.com/security/data/cve/CVE-2005-0758.html
https://www.redhat.com/security/data/cve/CVE-2005-0953.html
https://www.redhat.com/security/data/cve/CVE-2005-1260.html
http://scary.beasts.org/security/CESA-2005-002.txt
http://rhn.redhat.com/errata/RHSA-2005-474.html

Solution :

Update the affected bzip2, bzip2-devel and / or bzip2-libs packages.

Risk factor :

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

Family: Red Hat Local Security Checks

Nessus Plugin ID: 18510 ()

Bugtraq ID:

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