Skip to content
Fencer Vulns
critical 9.8

CVE-2018-1000544 json

Rubyzip gem contains a Directory Traversal vulnerability in zip file component

published 2018-06-26 8 y ago modified 2026-06-17 4 mo ago also GHSA-vqcq-mrmw-mcmg , EUVD-2018-0470

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.3%
EPSS 4.3% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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..

Patch / fix

  • rubygems rubyzip 1.2.2
  • ruby-zip Debian 14, Debian 13, Debian 12 1.2.2-1

debian advisories DEBIAN-CVE-2018-1000544

  • ruby-zip Ubuntu 18.04 LTS 1.2.1-1.1~build0.18.04.1

ubuntu advisories UBUNTU-CVE-2018-1000544

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cfme cloudforms managementengine 5.9 5.9.5.3-1.el7cf
  • cfme-gemset cloudforms managementengine 5.9 5.9.5.3-1.el7cf
  • ansible-tower cloudforms managementengine 5.9 3.2.7-1.el7at
  • cfme-appliance cloudforms managementengine 5.9 5.9.5.3-1.el7cf
  • ansible-tower-ui cloudforms managementengine 5.9 3.2.7-1.el7at
  • ansible-tower-setup cloudforms managementengine 5.9 3.2.7-1.el7at
  • ansible-tower-server cloudforms managementengine 5.9 3.2.7-1.el7at
  • cfme-appliance-tools cloudforms managementengine 5.9 5.9.5.3-1.el7cf

red hat advisories RHSA-2018:3466

  • rubygem-rubyzip openSUSE Tumbleweed 2.3.2-1.19
  • rubygem-rubyzip openSUSE Tumbleweed 2.3.2-1.17
  • rubygem-rubyzip openSUSE Tumbleweed 2.3.2-1.15
  • ruby3.2-rubygem-rubyzip openSUSE Tumbleweed 2.3.2-1.11

opensuse advisories openSUSE-SU-2026:10363-1openSUSE-SU-2025:15126-1openSUSE-SU-2024:14176-1openSUSE-SU-2024:13168-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1000544 updated cvss 4.8

rubyzip: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file

  • Red Hat Quickstart Cloud Installer 1 tfm-rubygem-rubyzip
    affected: no fix planned “Will not fix”
  • Red Hat CloudForms Management Engine 5.9 cfme 5.9.5.3-1.el7cf, ansible-tower 3.2.7-1.el7at, cfme-gemset 5.9.5.3-1.el7cf, ansible-tower-ui 3.2.7-1.el7at, cfme-appliance 5.9.5.3-1.el7cf, ansible-tower-setup 3.2.7-1.el7at, +6 more
    fixed: vendor fix RHSA-2018:3466

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.34% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/rubyzip/rubyzip/issues/369 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems rubyzip
<1.2.2
1.2.2

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access
  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.