CVE-2017-5946
Fixed in a distro release EPSS 3%
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.
Products: rubyzip_project rubyzip, debian_linux
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| RubyGems | rubyzip | 1.2.1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | ruby-zip | 1.2.0-1.1 |
| Debian 13 | ruby-zip | 1.2.0-1.1 |
| Debian 14 | ruby-zip | 1.2.0-1.1 |
| Debian 7 | libzip-ruby | 0.9.4-1+deb7u1 |
| Debian 8 | ruby-zip | 1.1.6-1+deb8u1 |
| Ubuntu 16.04 LTS | ruby-zip | no fix |
| openSUSE Tumbleweed | ruby3.2-rubygem-rubyzip | 2.3.2-1.11 |
| openSUSE Tumbleweed | rubygem-rubyzip | 2.3.2-1.15 |
| openSUSE Tumbleweed | rubygem-rubyzip | 2.3.2-1.17 |
| openSUSE Tumbleweed | rubygem-rubyzip | 2.3.2-1.19 |