Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1584392 - (CVE-2018-1002200) CVE-2018-1002200 plexus-archiver: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
CVE-2018-1002200 plexus-archiver: arbitrary file write vulnerability / arbitr...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20180605,repo...
: Security
Depends On: 1585631 1585635 1587816 1585546 1585632 1585633 1585634 1585636 1587817 1587818
Blocks: 1584393
  Show dependency treegraph
 
Reported: 2018-05-30 15:27 EDT by Laura Pardo
Modified: 2018-09-24 06:18 EDT (History)
24 users (show)

See Also:
Fixed In Version: plexus-archiver 3.6.0
Doc Type: If docs needed, set a value
Doc Text:
A path traversal vulnerability has been discovered in plexus-archiver when extracting a carefully crafted zip file which holds path traversal file names. A remote attacker could use this vulnerability to write files outside the target directory and overwrite existing files with malicious code or vulnerable configurations.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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-2018:1836 None None None 2018-06-12 10:47 EDT
Red Hat Product Errata RHSA-2018:1837 None None None 2018-06-12 11:09 EDT

  None (edit)
Description Laura Pardo 2018-05-30 15:27:01 EDT
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://github.com/codehaus-plexus/plexus-archiver/pull/87

Patch:
https://github.com/codehaus-plexus/plexus-archiver/commit/58bc24e465c0842981692adbf6d75680298989de
Comment 1 Tomas Hoger 2018-05-31 03:02:10 EDT
The above fix was included in upstream version 3.6.0.
Comment 3 Doran Moppert 2018-06-03 23:38:44 EDT
Acknowledgments:

Name: Danny Grander (Snyk)
Comment 7 Doran Moppert 2018-06-05 03:33:39 EDT
Public via:

https://snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-31680
Comment 8 Riccardo Schirone 2018-06-05 11:25:04 EDT
External References:

https://snyk.io/research/zip-slip-vulnerability
Comment 10 Andrej Nemec 2018-06-06 03:21:20 EDT
Created plexus-archiver tracking bugs for this issue:

Affects: fedora-27 [bug 1587818]
Affects: fedora-28 [bug 1587817]
Comment 12 errata-xmlrpc 2018-06-12 10:47:03 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:1836 https://access.redhat.com/errata/RHSA-2018:1836
Comment 13 errata-xmlrpc 2018-06-12 11:08:48 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1837 https://access.redhat.com/errata/RHSA-2018:1837

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