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 |
---|---|
http://www.debian.org/security/2017/dsa-3801 | Third Party Advisory |
http://www.securityfocus.com/bid/96445 | Third Party Advisory VDB Entry |
https://github.com/rubyzip/rubyzip/issues/315 | Third Party Advisory |
https://github.com/rubyzip/rubyzip/releases | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2017-02-27 07:59
Updated : 2024-02-04 19:11
NVD link : CVE-2017-5946
Mitre link : CVE-2017-5946
CVE.ORG link : CVE-2017-5946
JSON object : View
Products Affected
rubyzip_project
- rubyzip
debian
- debian_linux
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')