CVE-2017-5946: debian debian_linux Path Traversal
CVSS: 9.8v3.1CriticalModified
AliasesMGASA-2017-0264UBUNTU-CVE-2017-5946DEBIAN-CVE-2017-5946DLA-846-1DSA-3801-1GHSA-gcqq-w6gr-h9j9
Published 27-02-2017Last modified 05-08-2024
Vulnerability summary
CVE-2017-5946 is a critical (CVSS 9.8) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 3.44% chance of exploitation in the next 30 days, higher than 88.8% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
3.44%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 27-02-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
3.44%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
0.00 pp
From 3.44% on 20-09-2026
20-09-202620-10-2026
EPSS score3.44%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian3 products
- libzip-ruby< 0.9.4-1+deb7u1
- ruby-zip< 1.2.0-1.1 | < 1.1.6-1+deb8u1
- debian_linuxEOL8.0 | 9.0
Mageia2 products
- ruby-rubyzip< 1.1.4-3.1.mga5
- ruby-rubyzip< 1.1.7-1.1.mga6
RubyGems1 product
- rubyzip< 1.2.1
Rubyzip_project1 product
- rubyzip< 1.2.1
Ubuntu1 product
- ruby-zipAll versions (No fix recorded)
5 vendors · 8 products
References
15 linksShow all 15 references
- github.com/rubyzip/rubyzipPACKAGE