Bug 1593011 (CVE-2018-1002209) - CVE-2018-1002209 quazip: zip slip - arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
Summary: CVE-2018-1002209 quazip: zip slip - arbitrary file write vulnerability / arbi...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2018-1002209
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1593013 1593012
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-19 20:41 UTC by Laura Pardo
Modified: 2019-09-29 14:42 UTC (History)
1 user (show)

Fixed In Version: quazip 0.7.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:40 UTC


Attachments (Terms of Use)

Description Laura Pardo 2018-06-19 20:41:16 UTC
A vulnerability has been found in the way developers have implemented the archive extraction of files. An arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar,xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder. Of course if an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily. This affects multiple libraries that lacks of a high level APIs that provide the archive extraction functionality.


References:
https://snyk.io/research/zip-slip-vulnerability

Comment 1 Laura Pardo 2018-06-19 20:42:13 UTC
Created quazip tracking bugs for this issue:

Affects: epel-all [bug 1593013]
Affects: fedora-all [bug 1593012]

Comment 2 Product Security DevOps Team 2019-06-10 10:29:40 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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