CVE-2019-16892 json
Rubyzip denial of service
published 7y ago modified 4mo ago also GHSA-5m2v-hc64-56h6 , EUVD-2019-0653
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- rubygems rubyzip 1.3.0
- rubyzip_project rubyzip 1.3.0
- ruby-zip Debian 14, Debian 13, Debian 12 2.0.0-1
debian advisories DEBIAN-CVE-2019-16892
- cfme cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- cfme-gemset cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- cfme-appliance cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- v2v-conversion-host cloudforms managementengine 5.11 1.15.0-1.el8ev
- cfme-appliance-tools cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- cfme-appliance-common cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- cfme-amazon-smartstate cloudforms managementengine 5.11 5.11.1.2-1.el8cf
- v2v-conversion-host-ansible cloudforms managementengine 5.11 1.15.0-1.el8ev
red hat advisories RHSA-2019:4201RHBA-2019:4047
- vagrant openSUSE Tumbleweed 2.2.18-1.3
opensuse advisories openSUSE-SU-2024:11491-1
- github.com/rubyzip/rubyzip@d65fe7b commit
- github.com/rubyzip/rubyzip#403 pull request
Is CVE-2019-16892 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-16892 updated cvss 5.5
cfme: rubygem-rubyzip denial of service via crafted ZIP file
-
Red Hat CloudForms Management Engine 5.10 ruby 2.4.9-93.el7cf, cfme 5.10.13.1-1.el7cf, ruby-irb 2.4.9-93.el7cf, ruby-libs 2.4.9-93.el7cf, rubygems 2.6.14.4-93.el7cf, rubygem-rdoc 5.0.1-93.el7cf, +16 morefixed: vendor fix RHBA-2019:4047
-
Red Hat CloudForms Management Engine 5.11 cfme 5.11.1.2-1.el8cf, cfme-gemset 5.11.1.2-1.el8cf, cfme-appliance 5.11.1.2-1.el8cf, v2v-conversion-host 1.15.0-1.el8ev, cfme-appliance-tools 5.11.1.2-1.el8cf, cfme-appliance-common 5.11.1.2-1.el8cf, +3 morefixed: vendor fix RHSA-2019:4201
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/rubyzip/rubyzip/pull/403 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.1 | AV:N/AC:M/Au:N/C:N/I:N/A:C |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rubyzip | <1.3.0 |
1.3.0 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/rubyzip/rubyzip/pull/403
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/rubyzip/rubyzip/commit/d65fe7bd283ec94f9d6dc7605f61a6b0dd00f55e
web, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MWWPORMSBHZTMP4PGF4DQD22TTKBQMMC/
vendor-advisory, mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/J45KSFPP6DFVWLC7Z73L7SX735CKZYO6/
vendor-advisory, mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/X255K6ZBAQC462PQN2ND5HOTTQEJ2G2X/
vendor-advisory, mailing-list
-
access.redhat.com
/errata/RHBA-2019:4047
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:4201
vendor-advisory, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16892
advisory
-
github.com
/jdleesmiller/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2019-16892.yml
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2019-16892.yml
web
-
github.com
/rubyzip/rubyzip
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/J45KSFPP6DFVWLC7Z73L7SX735CKZYO6
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MWWPORMSBHZTMP4PGF4DQD22TTKBQMMC
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/X255K6ZBAQC462PQN2ND5HOTTQEJ2G2X
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/J45KSFPP6DFVWLC7Z73L7SX735CKZYO6
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/MWWPORMSBHZTMP4PGF4DQD22TTKBQMMC
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/X255K6ZBAQC462PQN2ND5HOTTQEJ2G2X
web
Sources
- CVE List CVE-2019-16892
- GitHub Advisory GHSA-5m2v-hc64-56h6
- NVD CVE-2019-16892
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.