MediumGHSA-5m2v-hc64-56h6CVE-2019-16892
Rubyzip denial of service
Published 30 Sept 2019 · Updated 16 Feb 2024
Is your project on an affected rubyzip?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
rubyzipRubyGems
- Affected
- <1.3.0
- Fixed in
- 1.3.0
Update to the fixed version for your release line, for example:
bundle update --conservative rubyzip # Gemfile: '>= 1.3.0'Details
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).
Is GHSA-5m2v-hc64-56h6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected rubyzip, and gives you the command that fixes it.
More advisories for rubyzip
- HighCVE-2026-85396rubyzip path traversal vulnerability · 3 Sept 2026
- CriticalCVE-2018-1000544Rubyzip gem contains a Directory Traversal vulnerability in zip file component · 6 Sept 2018
- CriticalCVE-2017-5946Directory traversal vulnerability in RubyZip · 24 Oct 2017
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-16892
- Linkgithub.com/rubyzip/rubyzip/pull/403
- Linkgithub.com/rubyzip/rubyzip/commit/d65fe7bd283ec94f9d6dc7605f61a6b0dd00f55e
- Linkaccess.redhat.com/errata/RHBA-2019:4047
- Linkaccess.redhat.com/errata/RHSA-2019:4201
- Linkgithub.com/jdleesmiller/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2019-16892.yml
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2019-16892.yml
- Packagegithub.com/rubyzip/rubyzip
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J45KSFPP6DFVWLC7Z73L7SX735CKZYO6
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MWWPORMSBHZTMP4PGF4DQD22TTKBQMMC
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X255K6ZBAQC462PQN2ND5HOTTQEJ2G2X
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J45KSFPP6DFVWLC7Z73L7SX735CKZYO6
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWWPORMSBHZTMP4PGF4DQD22TTKBQMMC
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X255K6ZBAQC462PQN2ND5HOTTQEJ2G2X
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.