Vulnerability record · CVE-2017-5946 · published 27 February 2017
CVE-2017-5946: Rubyzip project rubyzip path traversal vulnerability
RRubyzip Project · Rubyzip
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.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.debian.org/security/2017/dsa-3801 | Third Party Advisory |
| http://www.securityfocus.com/bid/96445 | Third Party AdvisoryVDB Entry |
| https://github.com/rubyzip/rubyzip/issues/315 | Third Party Advisory |
| https://github.com/rubyzip/rubyzip/releases | Third Party Advisory |
| http://www.debian.org/security/2017/dsa-3801 | Third Party Advisory |
| http://www.securityfocus.com/bid/96445 | Third Party AdvisoryVDB Entry |
| https://github.com/rubyzip/rubyzip/issues/315 | Third Party Advisory |
| https://github.com/rubyzip/rubyzip/releases | Third Party Advisory |
Track CVE-2017-5946 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-5946), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.