Bug 1427937 (CVE-2017-5946) - CVE-2017-5946 rubygem-rubyzip: Directory traversal in the Zip::File component
Summary: CVE-2017-5946 rubygem-rubyzip: Directory traversal in the Zip::File component
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-5946
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1427939
Blocks: 1427940
TreeView+ depends on / blocked
 
Reported: 2017-03-01 14:48 UTC by Andrej Nemec
Modified: 2021-02-17 02:32 UTC (History)
2 users (show)

Fixed In Version: rubyzip 1.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-12 03:14:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-03-01 14:48:01 UTC
The Zip::File component in the rubyzip gem for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses "../" pathname substrings to write arbitrary files to the filesystem.

Upstream bug:

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

Upstream patch:

https://github.com/rubyzip/rubyzip/commit/ce4208fdecc2ad079b05d3c49d70fe6ed1d07016

Comment 1 Andrej Nemec 2017-03-01 14:49:08 UTC
Created rubygem-rubyzip tracking bugs for this issue:

Affects: fedora-all [bug 1427939]

Comment 2 Kurt Seifried 2017-04-12 03:14:28 UTC
Statement:

This issue affects the versions of rubygem-rubyzip as shipped with Red Hat Quick Cloud Installer. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


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