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.
References
Link | Resource |
---|---|
https://github.com/rubyzip/rubyzip/releases | Third Party Advisory |
https://github.com/rubyzip/rubyzip/issues/315 | Third Party Advisory |
http://www.securityfocus.com/bid/96445 | Third Party Advisory VDB Entry |
http://www.debian.org/security/2017/dsa-3801 | Third Party Advisory |
Information
Published : 2017-02-26 23:59
Updated : 2020-05-14 05:47
NVD link : CVE-2017-5946
Mitre link : CVE-2017-5946
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
debian
- debian_linux
rubyzip_project
- rubyzip