CVE-2018-1000074

rubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML

Published Mar 13, 2018 CVSS 3.0 · 7.8 High EPSS 2.9% KEV · Not listed
Description
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 appear to be exploitable via victim must run the `gem owner` command on a gem with a specially crafted YAML file. This vulnerability appears to have been fixed in 2.7.6.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1352-1 jruby security update
Debian DLA Debian DLA DLA-1480-1 ruby2.1 security update
Debian DLA Debian DLA DLA-1796-1 jruby security update
Debian DSA Debian DSA DSA-4219-1 jruby security update
Debian DSA Debian DSA DSA-4259-1 ruby2.3 security update
EUVD EUVD EUVD-2022-4983 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 appear to be exploitable via victim must run the `gem owner` command on a gem with a specially crafted YAML file. This vulnerability appears to have been fixed in 2.7.6.
Github GHSA Github GHSA GHSA-qj2w-mw2r-pv39 RubyGems Deserialization of Untrusted Data vulnerability
Ubuntu USN Ubuntu USN USN-3621-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-3621-2 Ruby regression
Ubuntu USN Ubuntu USN USN-3685-1 Ruby vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 12:33 PM
Reserved
Feb 21, 2018, 12:00 AM
Status
Modified
Published
Mar 13, 2018, 3:29 PM
Modified
Jun 17, 2026, 1:32 AM
Severity
Moderate
Public date
Feb 15, 2018, 12:00 AM