Bug 98328 - CAN-2003-0282 vulnerability in unzip 5.50 allows malicious zip file to write to ../
Summary: CAN-2003-0282 vulnerability in unzip 5.50 allows malicious zip file to write...
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: unzip   
(Show other bugs)
Version: 2.1
Hardware: All Linux
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Ben Levenson
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2003-07-01 08:47 UTC by Mark J. Cox
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-01 15:24:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2003:200 low SHIPPED_LIVE Moderate: unzip security update 2003-07-01 04:00:00 UTC

Description Mark J. Cox 2003-07-01 08:47:18 UTC
Description of problem:
By inserting non-printable characters into a directory, for instance:


One may create a zip file which, when extracted, will bypass the "writing to
../" security check (if the user has not specified the "-:" command line
option), thus opening up the potential for a trojan horse program:


for example.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce: Unzip the attached testcase.zip.
Actual Results:  Stuff created in parent directory (../) without the -: option.
Expected Results:  Stuff created in current directory.

Comment 1 Lon Hohberger 2003-07-01 14:48:27 UTC
Awaiting erratum.

Comment 2 Mark J. Cox 2003-07-01 15:24:27 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.