Bug 1584409 (CVE-2018-1002202) - CVE-2018-1002202 zip4j: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
Summary: CVE-2018-1002202 zip4j: arbitrary file write vulnerability / arbitrary code e...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-1002202
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:
Blocks: 1584410
TreeView+ depends on / blocked
 
Reported: 2018-05-30 20:17 UTC by Laura Pardo
Modified: 2019-09-29 14:40 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-23 21:12:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-05-30 20:17:25 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.

Comment 1 Doran Moppert 2018-06-05 07:35:55 UTC
Public via:

https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679


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