rubyzip vulnerabilities

rubyzip is a ruby module for reading and writing zip files

Registry
RubyGems
Latest
3.7.0
License
BSD-2-Clause

4 known advisories

The latest version, 3.7.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative rubyzip # Gemfile: '>= 3.7.0'

Is your project on an affected rubyzip?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for rubyzip

  • HighCVE-2026-85396GHSA-47m2-wp7j-p9vc3 Sept 2026

    rubyzip path traversal vulnerability

    Affected
    <3.4.0
    Fixed in
    3.4.0
  • MediumCVE-2019-16892GHSA-5m2v-hc64-56h630 Sept 2019

    Rubyzip denial of service

    Affected
    <1.3.0
    Fixed in
    1.3.0
  • CriticalCVE-2018-1000544GHSA-vqcq-mrmw-mcmg6 Sept 2018

    Rubyzip gem contains a Directory Traversal vulnerability in zip file component

    Affected
    <1.2.2
    Fixed in
    1.2.2
  • CriticalCVE-2017-5946GHSA-gcqq-w6gr-h9j924 Oct 2017

    Directory traversal vulnerability in RubyZip

    Affected
    <1.2.1
    Fixed in
    1.2.1

Is your rubyzip version vulnerable?

Which of your client projects still run an old rubyzip?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.