Top White Papers
Red Hat Linux Advisory: unzipJul 01, 2003, 14:57 (0 Talkback[s])
Red Hat Security Advisory
Updated unzip packages resolving a vulnerability allowing arbitrary files to be overwritten are now available.
2. Relevant releases/architectures:
Red Hat Linux 7.1 - i386
3. Problem description:
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.
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:
This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):
97301 - vulnerability in unzip 5.50 allows malicious zip file to write to ../
6. RPMs required:
Red Hat Linux 7.1:
Red Hat Linux 7.2:
Red Hat Linux 7.3:
Red Hat Linux 8.0:
Red Hat Linux 9:
MD5 sum Package Name
These packages are GPG signed by Red Hat for security. Our key is available from http://www.redhat.com/security/keys.html
You can verify each package with the following command:
rpm --checksig -v <filename>
If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:
The Red Hat security contact is <firstname.lastname@example.org>. More contact details at http://www.redhat.com/solutions/security/news/contact.html
Copyright 2003 Red Hat, Inc.
0 Talkback[s] (click to add your comment)