Directory traversal vulnerability in RubyZip
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2017-5946US | critical9.8 | — | ||
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 malicio… | ||||
02
references
External citations — patches, advisories, analysis.
- http://www.debian.org/security/2017/dsa-3801WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2017-5946.ymlWEB
- https://github.com/rubyzip/rubyzipPACKAGE
- https://github.com/rubyzip/rubyzip/commit/ce4208fdecc2ad079b05d3c49d70fe6ed1d07016WEB
- https://github.com/rubyzip/rubyzip/issues/315WEB
- https://github.com/rubyzip/rubyzip/releasesWEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-5946ADVISORY
- https://web.archive.org/web/20200227185727/http://www.securityfocus.com/bid/96445WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan