CVE-2018-1000075
RubyGems Infinite Loop vulnerability
Reported by mitre · Published March 13, 2018
rubygems-update is fixed in 2.5.0 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygems-update | RubyGems | 2.5.0 |
| rubygem-io-console | Amazon Linux | 0.4.2-36.amzn2.0.1 |
| rubygem-rake | Amazon Linux | 0.9.6-36.amzn2.0.1 |
| ruby2.3 | Ubuntu:16.04:LTS | 2.3.1-2~16.04.7 |
| rubygems | rubygems | 2.5.0, 2.4.3, 2.3.6, 2.2.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | rubygem-io-console | 0 |
| RubyGems | rubygems-update | 2.2.9 |
| amazon:2 | rubygem-rake | 0 |
| n/a | n/a | * |
| amazon:2 | rubygems | 0 |
| Maven | org.jruby:jruby-stdlib | 0 |
| amazon:2 | rubygem-minitest | 0 |
| amazon:2 | rubygem-bigdecimal | 0 |
| amazon:2 | ruby | 0 |
| amazon:2 | ruby-irb | 0 |
| amazon:2 | ruby-doc | 0 |
| amazon:2 | rubygem-psych | 0 |
| amazon:2 | ruby-tcltk | 0 |
| amazon:2 | ruby-libs | 0 |
| amazon:2 | rubygem-rdoc | 0 |
| amazon:2 | rubygems-devel | 0 |
| amazon:2 | rubygem-json | 0 |
| amazon:2 | ruby-devel | 0 |
Timeline
- Mar 13, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (13 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1000075
vulnetix vdb fixes CVE-2018-1000075
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1000075/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4219 vendor-advisoryx_refsource_DEBIAN
- USN-3621-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:3729 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- RHSA-2018:3730 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180423 [SECURITY] [DLA 1358-1] ruby1.9.1 security update mailing-listx_refsource_MLIST
- RHSA-2018:3731 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180402 [SECURITY] [DLA 1337-1] jruby security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-listx_refsource_MLIST
- DSA-4259 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- [debian-lts-announce] 20180401 [SECURITY] [DLA 1336-1] rubygems security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1796-1] jruby security update mailing-listx_refsource_MLIST
- openSUSE-SU-2019:1771 vendor-advisoryx_refsource_SUSE
- RHSA-2019:2028 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0542 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0591 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0663 vendor-advisoryx_refsource_REDHAT
- https://github.com/jruby/jruby/commit/0b06b48ab4432237ce5fc1bef47f2c6bcf7843f7 patch
- https://github.com/rubygems/rubygems/commit/5971b486d4dbb2bad5d3445b3801c456eb0ce183 patch
…and 2 more