Severity
9.8CRITICAL
EPSS
5.9%
top 9.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 27
Latest updateSep 6

Description

The Zip::File component in the rubyzip gem before 1.2.1 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

RubyGemsrubyzip< 1.2.1
Debianruby-zip< 1.2.0-1.1+3

Also affects: Debian Linux 8.0, 9.0

🔴Vulnerability Details

5
GHSA
Rubyzip gem contains a Directory Traversal vulnerability in zip file component2018-09-06
OSV
Directory traversal vulnerability in RubyZip2017-10-24
GHSA
Directory traversal vulnerability in RubyZip2017-10-24
OSV
CVE-2017-5946: The Zip::File component in the rubyzip gem before 12017-02-27
CVEList
CVE-2017-5946: The Zip::File component in the rubyzip gem before 12017-02-27

📋Vendor Advisories

2
Red Hat
rubygem-rubyzip: Directory traversal in the Zip::File component2017-02-04
Debian
CVE-2017-5946: ruby-zip - The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory...2017

💬Community

1
Bugzilla
CVE-2017-5946 rubygem-rubyzip: Directory traversal in the Zip::File component2017-03-01
CVE-2017-5946 (CRITICAL CVSS 9.8) | The Zip::File component in the ruby | cvebase.io