RHEL 2.1 : unzip (RHSA-2002:138)

Medium Nessus Plugin ID 12312


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


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.


Update the affected tar and / or unzip packages.

See Also








Plugin Details

Severity: Medium

ID: 12312

File Name: redhat-RHSA-2002-138.nasl

Version: $Revision: 1.19 $

Type: local

Agent: unix

Published: 2004/07/06

Modified: 2016/12/28

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:tar, p-cpe:/a:redhat:enterprise_linux:unzip, cpe:/o:redhat:enterprise_linux:2.1

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2002/10/01

Reference Information

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

RHSA: 2002:138