Bug 1595625

Summary: rubygem-rubyzip: Directory traversal in Zip::File component
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: clalancette, cpelland, dajohnso, dclarizi, gblomqui, gmccullo, gtanzill, hhudgeon, jfrey, jhardy, jmatthew, jprause, kdube, mo, obarenbo, rcosta, roliveri, simaishi, smallamp, tcarlin, tsanders
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-11 20:52:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1593006, 1595627    
Bug Blocks: 1595629    

Description Andrej Nemec 2018-06-27 08:47:30 UTC
It was found that rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. An attacker can craft a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem..

Upstream issue:

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

Comment 1 Andrej Nemec 2018-06-27 08:47:55 UTC
Created rubygem-rubyzip tracking bugs for this issue:

Affects: fedora-all [bug 1595627]

Comment 2 Richard Maciel Costa 2018-07-11 20:52:35 UTC

*** This bug has been marked as a duplicate of bug 1593001 ***