Skip to main content

Rubyzip

4 CVEs product

Monthly

CVE-2026-85396 Sep 03, 18:54 Ruby HIGH PATCH GHSA This Week

Path traversal in rubyzip before 3.4.0 allows an attacker who supplies a crafted ZIP archive to write files outside the intended extraction directory by exploiting a flawed prefix comparison in `Zip::Entry#extract`. The root cause is that the path guard checks `extract_path.start_with?(dest_dir)` without appending a trailing file separator, meaning a sibling directory sharing the destination string prefix - such as `out_evil` alongside destination `out` - passes validation and receives the extracted file. The fix is confirmed in v3.4.0; no active exploitation has been identified at time of analysis, but the attack primitive is straightforward to reproduce from the published commit diff.

Path Traversal Rubyzip
NVD GitHub VulDB
CVSS 4.0
8.7
EPSS
0.4%
CVE-2019-16892 Sep 25, 22:15 Ruby MEDIUM POC PATCH This Month

In Rubyzip before 1.3.0, a crafted ZIP file can bypass application checks on ZIP entry sizes because data about the uncompressed size can be spoofed. Rated medium severity (CVSS 5.5), this vulnerability is no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Red Hat Fedora Cloudforms Rubyzip +2
NVD GitHub
CVSS 3.1
5.5
EPSS
1.6%
CVE-2018-1000544 Jun 26, 16:29 Ruby CRITICAL POC PATCH Act Now

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. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Debian Red Hat Debian Linux Cloudforms +2
NVD GitHub
CVSS 3.1
9.8
EPSS
4.5%
CVE-2017-5946 Feb 27, 07:59 Ruby CRITICAL PATCH Act Now

The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Debian Debian Linux Rubyzip Rubyzip Project
NVD GitHub
CVSS 3.1
9.8
EPSS
5.9%
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Path traversal in rubyzip before 3.4.0 allows an attacker who supplies a crafted ZIP archive to write files outside the intended extraction directory by exploiting a flawed prefix comparison in `Zip::Entry#extract`. The root cause is that the path guard checks `extract_path.start_with?(dest_dir)` without appending a trailing file separator, meaning a sibling directory sharing the destination string prefix - such as `out_evil` alongside destination `out` - passes validation and receives the extracted file. The fix is confirmed in v3.4.0; no active exploitation has been identified at time of analysis, but the attack primitive is straightforward to reproduce from the published commit diff.

Path Traversal Rubyzip
NVD GitHub VulDB
EPSS 2% CVSS 5.5
MEDIUM POC PATCH This Month

In Rubyzip before 1.3.0, a crafted ZIP file can bypass application checks on ZIP entry sizes because data about the uncompressed size can be spoofed. Rated medium severity (CVSS 5.5), this vulnerability is no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Red Hat Fedora +4
NVD GitHub
EPSS 4% CVSS 9.8
CRITICAL POC PATCH Act Now

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. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Path Traversal Debian Red Hat +4
NVD GitHub
EPSS 6% CVSS 9.8
CRITICAL PATCH Act Now

The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Debian Debian Linux +2
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy