VulnerabilityModified
CVE-2017-5946
The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability.
CRITICAL 9.8EPSS 3.44%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.44% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- rubyzip project/rubyzip · debian/debian linux
- Source
- cve@mitre.org
References
- http://www.debian.org/security/2017/dsa-3801Third Party Advisory
- http://www.securityfocus.com/bid/96445Third Party Advisory, VDB Entry
- https://github.com/rubyzip/rubyzip/issues/315Third Party Advisory
- https://github.com/rubyzip/rubyzip/releasesThird Party Advisory
- http://www.debian.org/security/2017/dsa-3801Third Party Advisory
- http://www.securityfocus.com/bid/96445Third Party Advisory, VDB Entry
- https://github.com/rubyzip/rubyzip/issues/315Third Party Advisory
- https://github.com/rubyzip/rubyzip/releasesThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.