← Back to CVEs
CVE-2017-5946
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/27/2017
Last Modified4/20/2025
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxrubyzip_project:rubyzip
Weaknesses (CWE)
CWE-22
References
http://www.debian.org/security/2017/dsa-3801(cve@mitre.org)
http://www.securityfocus.com/bid/96445(cve@mitre.org)
https://github.com/rubyzip/rubyzip/issues/315(cve@mitre.org)
https://github.com/rubyzip/rubyzip/releases(cve@mitre.org)
http://www.debian.org/security/2017/dsa-3801(af854a3a-2127-422b-91ae-364da2661108)
http://www.securityfocus.com/bid/96445(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/rubyzip/rubyzip/issues/315(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/rubyzip/rubyzip/releases(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.