Skip to main content

CVE-2018-1000075 — Vulnerability in rubygems-update — CVE Details

HIGH

RubyGems Infinite Loop vulnerability

Published May 13, 2022Updated March 13, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (4.74%). Schedule for your next planned update.

Does your project use an affected rubygems-update version?

Paste your Gemfile.lock to check it for CVE-2018-1000075 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Gemfile.lock

Summary

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.

Advisory Timeline

  • First published May 13, 2022 (1658 days ago).
  • Last revised March 13, 2024 — 670 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update rubygems-update to 2.7.6 or later
gem install rubygems-update -v 2.7.6
Maven
Update org.jruby:jruby-stdlib to 9.1.16.0 or later
<!-- Update pom.xml dependency version to 9.1.16.0 for org.jruby:jruby-stdlib -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: Maven (1), RubyGems (1).

PackageFixed In
rubygems-update RubyGems · Affected: 0.8.10, 0.8.11, 0.8.3, 0.8.4 (+144 more)2.7.6
org.jruby:jruby-stdlib Maven · Affected: 1.6.0, 1.6.1, 1.6.2, 1.6.3 (+69 more)9.1.16.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2018-1000075?
RubyGems Infinite Loop vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2018-1000075?
CVE-2018-1000075 affects rubygems-update and org.jruby:jruby-stdlib. It has a 4.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000075 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
4.74%
EPSS percentile: 92.6

This places it in the top 10% of EPSS-scored vulnerabilities — 92.6% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.

Also Known As

GHSA-74pv-v9gh-h25p

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock