Skip to content

← Public intelligence

RubyGems package

rubyzip

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.7RubyGemsAmendedPublished

    rubyzip path traversal vulnerability

    CVE-2026-85396 · GHSA-47m2-wp7j-p9vc

    Affected
    • RubyGems rubyzip < 3.4.0
    Fixed in
    3.4.0· Vendor fix available
    Issue
    rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../uploadbackup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.

    Recommended action: Upgrade to 3.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Medium, CVSS 5.5RubyGemsPublished

    Rubyzip denial of service

    CVE-2019-16892 · GHSA-5m2v-hc64-56h6

    Affected
    • RubyGems rubyzip < 1.3.0
    Fixed in
    1.3.0· Vendor fix available
    Issue
    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. This allows attackers to cause a denial of service (disk consumption).

    Recommended action: Upgrade to 1.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 9.8RubyGemsPublished

    Rubyzip gem contains a Directory Traversal vulnerability in zip file component

    CVE-2018-1000544 · GHSA-vqcq-mrmw-mcmg

    Affected
    • RubyGems rubyzip <= 1.2.1
    Fixed in
    1.2.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Critical, CVSS 9.8RubyGemsPublished

    Directory traversal vulnerability in RubyZip

    CVE-2017-5946 · GHSA-gcqq-w6gr-h9j9

    Affected
    • RubyGems rubyzip < 1.2.1
    Fixed in
    1.2.1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →