Loading...
Skip to main content

CVE-2018-1000074 — Vulnerability in org.jruby:jruby-stdlib — CVE...

HIGH

RubyGems Deserialization of Untrusted Data vulnerability

Published May 14, 2022Updated March 12, 2024Source: osv

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 Deserialization of Untrusted Data vulnerability in owner command that can result in code execution. This attack requires the victim to run the `gem owner` command on a gem with a specially crafted YAML file. This vulnerability is fixed in 2.7.6.

Advisory Timeline

  • First published May 14, 2022 (1612 days ago).
  • Last revised March 12, 2024 — 668 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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 -->
Bundler
Update rubygems-update to 2.7.6 or later
gem install rubygems-update -v 2.7.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: maven (1), rubygems (1).

PackageEcosystemAffectedFixed In
org.jruby:jruby-stdlib
maven
1.6.0, 1.6.1, 1.6.2, 1.6.3 (+69 more)9.1.16.0
rubygems-update
rubygems
0.8.10, 0.8.11, 0.8.3, 0.8.4 (+144 more)2.7.6

Vulnerability Classification

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

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2018-1000074?
RubyGems Deserialization of Untrusted Data vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
How do I check if my project is affected by CVE-2018-1000074?
CVE-2018-1000074 affects org.jruby:jruby-stdlib and rubygems-update. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000074 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qj2w-mw2r-pv39

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies