Bug 98328 - CAN-2003-0282 vulnerability in unzip 5.50 allows malicious zip file to write to ../
CAN-2003-0282 vulnerability in unzip 5.50 allows malicious zip file to write...
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: unzip (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Ben Levenson
: Security
Depends On:
  Show dependency treegraph
Reported: 2003-07-01 04:47 EDT by Mark J. Cox
Modified: 2007-11-30 17:06 EST (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Mark J. Cox 2003-07-01 04:47:18 EDT
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 10:48:27 EDT
Awaiting erratum.
Comment 2 Mark J. Cox 2003-07-01 11:24:27 EDT
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.