Back
CVE-2017-5946
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…
Critical9.8EPSS 3.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrubyzipGHSA-gcqq-w6gr-h9j9 (opens in a new tab)
References (4)
- https://github.com/rubyzip/rubyzip/releases (opens in a new tab)x_refsource_CONFIRMx_transferred
- 96445 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://github.com/rubyzip/rubyzip/issues/315 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3801 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gcqq-w6gr-h9j9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .