CVE-2017-5946
highpriority · track · 40EPSS 0.034 · 89 %ileDEEUUSEPSS · scored 2026-10-28
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedruby4.0-rubygem-rubyzip-0:2.3.2-1.19.aarch64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rubyzip-0:2.3.2-1.19.ppc64le as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rubyzip-0:2.3.2-1.19.s390x as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedruby4.0-rubygem-rubyzip-0:2.3.2-1.19.x86_64 as component of openSUSE Tumbleweedsuse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- openSUSE-SU-2026:10363-1ruby4.0-rubygem-rubyzip-2.3.2-1.19 on GA media2026-03-13csaf · suse_csafDE
ruby4.0-rubygem-rubyzip-2.3.2-1.19 on GA media
- GHSA-gcqq-w6gr-h9j9Directory traversal vulnerability in RubyZip2017-10-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://www.ibm.com/support/docview.wss?uid=ibm10881402cnnvd
- https://github.com/rubyzip/rubyzip/issues/315cnnvd
- https://github.com/rubyzip/rubyzip/releasescnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.2672/cnnvd
- https://www.debian.org/security/2017/dsa-3801cnnvd
- https://www.securityfocus.com/bid/96445cnnvd
- http://www.debian.org/security/2017/dsa-3801enisa_euvd
- http://www.securityfocus.com/bid/96445enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan