Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdjcXEtdzZnci1oOWo5
Directory traversal vulnerability in RubyZip
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdjcXEtdzZnci1oOWo5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 7 years ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-gcqq-w6gr-h9j9, CVE-2017-5946
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-5946
- https://github.com/rubyzip/rubyzip/issues/315
- https://github.com/rubyzip/rubyzip/releases
- http://www.debian.org/security/2017/dsa-3801
- https://web.archive.org/web/20200227185727/http://www.securityfocus.com/bid/96445
- https://github.com/rubyzip/rubyzip/commit/ce4208fdecc2ad079b05d3c49d70fe6ed1d07016
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2017-5946.yml
- https://github.com/advisories/GHSA-gcqq-w6gr-h9j9
Blast Radius: 57.1
Affected Packages
rubygems:rubyzip
Dependent packages: 1,245Dependent repositories: 671,154
Downloads: 535,487,370 total
Affected Version Ranges: < 1.2.1
Fixed in: 1.2.1
All affected versions: 0.5.7, 0.5.8, 0.5.9, 0.5.11, 0.5.12, 0.9.1, 0.9.4, 0.9.5, 0.9.7, 0.9.8, 0.9.9, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0
All unaffected versions: 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2