Vulnerability
CVE-2017-5946
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.
9 advisories report this vulnerability, across 4 ecosystems.
Advisories
-
DEBIAN-CVE-2017-5946
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…
-
DLA-846-1
libzip-ruby - security update
-
DSA-3801-1
ruby-zip - security update
-
GHSA-gcqq-w6gr-h9j9
Directory traversal vulnerability in RubyZip
-
UBUNTU-CVE-2017-5946
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…
-
openSUSE-SU-2024:13168-1
ruby3.2-rubygem-rubyzip-2.3.2-1.11 on GA media
-
openSUSE-SU-2024:14176-1
ruby3.3-rubygem-rubyzip-2.3.2-1.15 on GA media
-
openSUSE-SU-2025:15126-1
ruby3.4-rubygem-rubyzip-2.3.2-1.17 on GA media
-
openSUSE-SU-2026:10363-1
ruby4.0-rubygem-rubyzip-2.3.2-1.19 on GA media