Back

CVE-2017-0903

CRITICAL

RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability. YAML deserialization of gem specifications can bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution.

Published: Oct 11, 2017 Modified: Jun 17, 2026
CWE-502 CWE-502

CVSS Metrics

CVSSv3
Attack Vector: NETWORK Attack Complexity: LOW Privileges Required: NONE User Interaction: NONE Scope: UNCHANGED Confidentiality Impact: HIGH Integrity Impact: HIGH Availability Impact: HIGH

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

Affected Products (87)

Vendor Product Version
rubygems rubygems 2.0.0
rubygems rubygems 2.0.0
rubygems rubygems 2.0.0
rubygems rubygems 2.0.0
rubygems rubygems 2.0.0
rubygems rubygems 2.0.0
rubygems rubygems 2.0.1
rubygems rubygems 2.0.2
rubygems rubygems 2.0.3
rubygems rubygems 2.0.4
rubygems rubygems 2.0.5
rubygems rubygems 2.0.6
rubygems rubygems 2.0.7
rubygems rubygems 2.0.8
rubygems rubygems 2.0.9
rubygems rubygems 2.0.10
rubygems rubygems 2.0.11
rubygems rubygems 2.0.12
rubygems rubygems 2.0.13
rubygems rubygems 2.0.14

…and 67 more

GitHub Security Advisory GHSA-mqwr-4qf2-2hcv

RubyGems vulnerable to Deserialization of Untrusted Data

rubygems rubygems-update >= 2.0.0, < 2.6.14 Fixed: 2.6.14

Risk Scores

CVSS Score 9.8 / 10
EPSS Score 15.85%

Top 3% most likely to be exploited

Threat Score 44 / 100

Data Sources

NVD EPSS GitHub