RHEL 2.1 : unzip (RHSA-2002:138)

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


Synopsis :

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

Description :

The unzip and tar utilities contain vulnerabilities which can allow
arbitrary files to be overwritten during archive extraction.

The unzip and tar utilities are used for dealing with archives, which
are multiple files stored inside of a single file.

A directory traversal vulnerability in unzip version 5.42 and earlier,
as well as GNU tar 1.13.19 and earlier, allows attackers to overwrite
arbitrary files during archive extraction via a '..' (dot dot) in an
extracted filename (CVE-2001-1267, CVE-2001-1268). In addition, unzip
version 5.42 and earlier also allows attackers to overwrite arbitrary
files during archive extraction via filenames in the archive that
begin with the '/' (slash) character (CVE-2001-1269).

During testing of the fix to GNU tar, we discovered that GNU tar
1.13.25 was still vulnerable to a modified version of the same
problem. Red Hat has provided a patch to tar 1.3.25 to correct this
problem (CVE-2002-0399).

Users of unzip and tar are advised to upgrade to these errata
packages, containing unzip version 5.50 and a patched version of GNU
tar 1.13.25, which are not vulnerable to these issues.

See also :

https://www.redhat.com/security/data/cve/CVE-2001-1267.html
https://www.redhat.com/security/data/cve/CVE-2001-1268.html
https://www.redhat.com/security/data/cve/CVE-2001-1269.html
https://www.redhat.com/security/data/cve/CVE-2002-0399.html
https://www.redhat.com/security/data/cve/CVE-2002-1216.html
http://online.securityfocus.com/archive/1/196445
http://rhn.redhat.com/errata/RHSA-2002-138.html

Solution :

Update the affected tar and / or unzip packages.

Risk factor :

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

Family: Red Hat Local Security Checks

Nessus Plugin ID: 12312 ()

Bugtraq ID:

CVE ID: CVE-2001-1267
CVE-2001-1268
CVE-2001-1269
CVE-2002-0399
CVE-2002-1216