Debian Security Tracker
DEBIAN-CVE-2017-5946
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | ruby-zip | All versions before 1.2.0-1.1 (fixed in 1.2.0-1.1) |
| Debian:13 | ruby-zip | All versions before 1.2.0-1.1 (fixed in 1.2.0-1.1) |
| Debian:14 | ruby-zip | All versions before 1.2.0-1.1 (fixed in 1.2.0-1.1) |