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.

Permalink: https://github.com/advisories/GHSA-gcqq-w6gr-h9j9
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: over 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

EPSS Percentage: 0.00535
EPSS Percentile: 0.77024

Identifiers: GHSA-gcqq-w6gr-h9j9, CVE-2017-5946
References: Repository: https://github.com/rubyzip/rubyzip
Blast Radius: 57.1

Affected Packages

rubygems:rubyzip
Dependent packages: 1,245
Dependent repositories: 671,154
Downloads: 544,575,671 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