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 1593001 - (CVE-2018-1000544) CVE-2018-1000544 rubyzip: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
CVE-2018-1000544 rubyzip: arbitrary file write vulnerability / arbitrary code...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180605,repor...
: Security
: 1595625 (view as bug list)
Depends On: 1593006 1599941 1599942
Blocks: 1593003 1595629
  Show dependency treegraph
 
Reported: 2018-06-19 16:19 EDT by Laura Pardo
Modified: 2018-11-01 13:47 EDT (History)
23 users (show)

See Also:
Fixed In Version: rubyzip 1.2.2
Doc Type: If docs needed, set a value
Doc Text:
A directory and symbolic link traversal flaw was found in the way rubyzip gem extracts zip files. An attacker, with access to a privileged application capable of extracting zip files, could use this flaw to write new files to arbitrary paths, accessible by the aforementioned privileged application.
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)

  None (edit)
Description Laura Pardo 2018-06-19 16:19:24 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://snyk.io/research/zip-slip-vulnerability
Comment 1 Laura Pardo 2018-06-19 16:31:41 EDT
Created rubygem-rubyzip tracking bugs for this issue:

Affects: fedora-all [bug 1593006]
Comment 8 Tomas Hoger 2018-07-11 02:20:04 EDT
Upstream bug:

https://github.com/rubyzip/rubyzip/issues/369

The issue has not been addressed upstream yet.
Comment 9 Richard Maciel Costa 2018-07-11 16:52:35 EDT
*** Bug 1595625 has been marked as a duplicate of this bug. ***

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