Live threats

All CVEs / Rubyzip Project

CVE-2018-1000544Rubyzip Project Rubyzip

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 26, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59, CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Rubyzip.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rubyzip < 1.2.2 1.2.2 gem "rubyzip", ">= 1.2.2"

Per OSV / GitHub Advisories (GHSA-vqcq-mrmw-mcmg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyzip_projectrubyzip≤ 1.2.1
debiandebian_linux8.0
debiandebian_linux9.0
redhatcloudforms4.6

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.