Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2017-5946 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rubyzip/rubyzip/issues/315 | CVE | Third Party Advisory |
| https://github.com/rubyzip/rubyzip/releases | CVE | Third Party Advisory |
| http://www.debian.org/security/2017/dsa-3801 | CVE | Third Party Advisory |
| http://www.securityfocus.com/bid/96445 | CVE | Third Party AdvisoryVDB Entry |
| https://github.com/rubyzip/rubyzip/issues/315 | [email protected] | Third Party Advisory |
| https://github.com/rubyzip/rubyzip/releases | [email protected] | Third Party Advisory |
| http://www.debian.org/security/2017/dsa-3801 | [email protected] | Third Party Advisory |
| http://www.securityfocus.com/bid/96445 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rubyzip project rubyzip | < 1.2.1 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 14, 2020 | Modified Analysis | [email protected] |
| Nov 4, 2017 | CVE Modified | [email protected] |
| Mar 2, 2017 | Initial Analysis | [email protected] |
| Mar 2, 2017 | CVE Modified | [email protected] |