Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZxY3EtbXJtdy1tY21n
Rubyzip gem contains a Directory Traversal vulnerability in zip file component
rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem..
This is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.
Permalink: https://github.com/advisories/GHSA-vqcq-mrmw-mcmgJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZxY3EtbXJtdy1tY21n
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 6 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.00221
EPSS Percentile: 0.60506
Identifiers: GHSA-vqcq-mrmw-mcmg, CVE-2018-1000544
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000544
- https://github.com/rubyzip/rubyzip/issues/369
- https://access.redhat.com/errata/RHSA-2018:3466
- https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2018-1000544.yml
- https://github.com/advisories/GHSA-vqcq-mrmw-mcmg
Blast Radius: 57.1
Affected Packages
rubygems:rubyzip
Dependent packages: 1,245Dependent repositories: 671,154
Downloads: 542,577,822 total
Affected Version Ranges: <= 1.2.1
Fixed in: 1.2.2
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, 1.2.1
All unaffected versions: 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