CVE-2018-1000075
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a infinite loop caused by negative size vulnerability in ruby gem package tar header that can result in a negative size could cause an infinite loop.. This vulnerability appears to have been fixed in 2.7.6.
What to do
Fixed builds are available from Debian, Maven, Red Hat, RubyGems, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | jruby | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jruby | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jruby | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | jruby | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | jruby | Fix pending | UBUNTU-CVE-2018-1000075 | |
| Ubuntu 16.04 | jruby | Fix pending | UBUNTU-CVE-2018-1000075 | |
| Ubuntu 16.04 | ruby2.3 | Fixed | 2.3.1-2~16.04.7 | UBUNTU-CVE-2018-1000075 |
| Ubuntu 14.04 | jruby | Fix pending | 1.5.6-9+deb8u2build0.14.04.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2018-1000075 |
| Ubuntu 14.04 | ruby1.9.1 | Fixed | 1.9.3.484-2ubuntu1.8 | UBUNTU-CVE-2018-1000075 |
| Ubuntu 14.04 | ruby2.0 | Fixed | 2.0.0.484-1ubuntu2.6 | UBUNTU-CVE-2018-1000075 |
| Debian 14 | jruby | Fixed | 9.1.17.0-1 | DEBIAN-CVE-2018-1000075 |
| Debian 14 | rubygems | Fixed | 3.2.0~rc.1-1 | DEBIAN-CVE-2018-1000075 |
| Debian 13 | jruby | Fixed | 9.1.17.0-1 | DEBIAN-CVE-2018-1000075 |
| Debian 13 | rubygems | Fixed | 3.2.0~rc.1-1 | DEBIAN-CVE-2018-1000075 |
| Debian 12 | jruby | Fixed | 9.1.17.0-1 | DEBIAN-CVE-2018-1000075 |
| Debian 12 | rubygems | Fixed | 3.2.0~rc.1-1 | DEBIAN-CVE-2018-1000075 |
| Red Hat Enterprise Linux 8 | ruby | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-bundled-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-default-gems | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | ruby-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-abrt-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bigdecimal | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bson-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-bundler-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-did_you_mean | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-io-console | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-irb | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-json | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-minitest | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mongo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2 | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-mysql2-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-net-telnet | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-pg-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-power_assert | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-psych | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-racc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rake | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rbs | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rdoc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rexml | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-rss | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-test-unit | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-typeprof | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygem-xmlrpc | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems | Not affected | ||
| Red Hat Enterprise Linux 8 | rubygems-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | ruby | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | ruby-devel | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | ruby-doc | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | ruby-irb | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | ruby-libs | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | ruby-tcltk | Fixed | 0:2.0.0.648-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-bigdecimal | Fixed | 0:1.2.0-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-io-console | Fixed | 0:0.4.2-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-json | Fixed | 0:1.7.7-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-minitest | Fixed | 0:4.3.2-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-psych | Fixed | 0:2.0.0-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-rake | Fixed | 0:0.9.6-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygem-rdoc | Fixed | 0:4.0.0-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygems | Fixed | 0:2.0.14.1-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7 | rubygems-devel | Fixed | 0:2.0.14.1-36.el7 | RHSA-2019:2028 |
| Red Hat Enterprise Linux 6 | rubygems | Will not fix Will not fix | ||
| Maven library | org.jruby:jruby-stdlib | Fixed | 9.1.16.0 | GHSA-74pv-v9gh-h25p |
| RubyGems library | rubygems-update | Fixed | 2.7.6 | GHSA-74pv-v9gh-h25p |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4219 (vendor-advisory)
- https://usn.ubuntu.com/3621-1/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3729 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3730 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3731 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4259 (vendor-advisory)
References
- https://www.debian.org/security/2018/dsa-4219
- https://usn.ubuntu.com/3621-1/
- https://access.redhat.com/errata/RHSA-2018:3729
- https://github.com/rubygems/rubygems/commit/92e98bf8f810bd812f919120d4832df51bc25d83
- https://access.redhat.com/errata/RHSA-2018:3730
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
- https://access.redhat.com/errata/RHSA-2018:3731
- https://lists.debian.org/debian-lts-announce/2018/04/msg00001.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2018/dsa-4259
- http://blog.rubygems.org/2018/02/15/2.7.6-released.html
- https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html
- https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://access.redhat.com/errata/RHSA-2019:2028
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.