CVE-2017-5946
Last modified
CVE-2017-5946 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 3.47% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyzip Project | Rubyzip | < 1.2.1 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.debian.org/security/2017/dsa-3801Third Party Advisory
- http://www.securityfocus.com/bid/96445Third Party Advisory, VDB Entry
- https://github.com/rubyzip/rubyzip/issues/315Third Party Advisory
- https://github.com/rubyzip/rubyzip/releasesThird Party Advisory
- http://www.debian.org/security/2017/dsa-3801Third Party Advisory
- http://www.securityfocus.com/bid/96445Third Party Advisory, VDB Entry
- https://github.com/rubyzip/rubyzip/issues/315Third Party Advisory
- https://github.com/rubyzip/rubyzip/releasesThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-5946?
How severe is CVE-2017-5946?
How do I fix CVE-2017-5946?
Are you affected by CVE-2017-5946?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
