Skip to navigation

Security Advisory unzip security update

Advisory: RHSA-2003:200-13
Type: Security Advisory
Severity: Moderate
Issued on: 2003-07-01
Last updated on: 2003-08-15
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2003-0282

Details

Updated unzip packages resolving a vulnerability allowing arbitrary files
to be overwritten are now available.

[Updated 15 August 2003]
Ben Laurie found that the original patch to fix this issue missed a case
where the path component included a quoted slash. These updated packages
contain a new patch that corrects this issue.

The unzip utility is used for manipulating archives, which are multiple
files stored inside of a single file.

A vulnerabilitiy in unzip version 5.50 and earlier allows attackers to
overwrite arbitrary files during archive extraction by placing invalid
(non-printable) characters between two "." characters. These non-printable
characters are filtered, resulting in a ".." sequence. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2003-0282 to this issue.

This erratum includes a patch ensuring that non-printable characters do not
make it possible for a malicious .zip file to write to parent directories
unless the "-:" command line parameter is specified.

Users of unzip are advised to upgrade to these updated packages, which are
not vulnerable to this issue.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
 
IA-32:
unzip-5.50-30.i386.rpm
File outdated by:  RHSA-2008:0196
    MD5: 62194c2bc4e808cc0f18ca260792bc59
 
IA-64:
unzip-5.50-30.ia64.rpm
File outdated by:  RHSA-2008:0196
    MD5: a93e34ca8953006d85ab7f2a0880deb8
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
 
IA-32:
unzip-5.50-30.i386.rpm
File outdated by:  RHSA-2008:0196
    MD5: 62194c2bc4e808cc0f18ca260792bc59
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
 
IA-32:
unzip-5.50-30.i386.rpm
File outdated by:  RHSA-2008:0196
    MD5: 62194c2bc4e808cc0f18ca260792bc59
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
unzip-5.50-30.src.rpm
File outdated by:  RHSA-2008:0196
    MD5: d6cb02c3e4f8bde659f4b72bf1bb4835
 
IA-64:
unzip-5.50-30.ia64.rpm
File outdated by:  RHSA-2008:0196
    MD5: a93e34ca8953006d85ab7f2a0880deb8
 

Bugs fixed (see bugzilla for more information)

98328 - CAN-2003-0282 vulnerability in unzip 5.50 allows malicious zip file to write to ../


References


Keywords

characters, control, unzip


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/