# CVE-2017-0903 — Rubygems

> As of 2026-11-30, CVE-2017-0903 is a CRITICAL-severity vulnerability in Rubygems, CVSS v3.1 9.8, EPSS 15.8% (97.5th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2017-0903, most recently “Critical RubyGems.org Gem-Push Deserialization Vulnerability (GHSA-7h7w-m82c-x2xg, No CVE) via !ruby/regexp YAML Tag Enables Code Execution on Registry Servers”.

**Last updated:** 2026-11-30

## What is CVE-2017-0903?

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.

The record classifies CVE-2017-0903 under weakness class [CWE-502](https://intel.threadlinqs.com/cwe/CWE-502). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 3337 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 9.8 — CRITICAL (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **EPSS (FIRST):** 15.8% probability of exploitation in the next 30 days, higher than 97.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2017-10-11

## Is CVE-2017-0903 being exploited?

Weaponised exploit code for CVE-2017-0903 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 5 in the Threadlinqs vulnerability feed.

- [trickest/cve](https://github.com/trickest/cve/blob/main/2017/CVE-2017-0903.md) (trickest)

## Affected products and versions

- **HackerOne**: RubyGems

## How to fix CVE-2017-0903

The record marks a vendor fix as available for CVE-2017-0903. Patch reference: [https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49](https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49). Vendor advisory: [http://blog.rubygems.org/2017/10/09/2.6.14-released.html](http://blog.rubygems.org/2017/10/09/2.6.14-released.html). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2017-0903

1 tracked threat in the Threadlinqs corpus references CVE-2017-0903, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Critical RubyGems.org Gem-Push Deserialization Vulnerability (GHSA-7h7w-m82c-x2xg, No CVE) via !ruby/regexp YAML Tag Enables Code Execution on Registry Servers](https://intel.threadlinqs.com/threat/TL-2026-7066) — CRITICAL · 2026-11-30

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [usn.ubuntu.com — vendor advisory](https://usn.ubuntu.com/3685-1/)
- [usn.ubuntu.com — vendor advisory (3553 1)](https://usn.ubuntu.com/3553-1/)
- [access.redhat.com — vendor advisory](https://access.redhat.com/errata/RHSA-2018:0585)
- [access.redhat.com — vendor advisory (RHSA 2018:0378)](https://access.redhat.com/errata/RHSA-2018:0378)
- [debian.org — vendor advisory](https://www.debian.org/security/2017/dsa-4031)

**Vulnerability database entry**

- [securityfocus.com — vdb entry](http://www.securityfocus.com/bid/101275)

**Mailing list and disclosure**

- [lists.debian.org — mailing list](https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html)

**Other references**

- [hackerone.com](https://hackerone.com/reports/274990)
- [github.com](https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49)
- [blog.rubygems.org](http://blog.rubygems.org/2017/10/09/2.6.14-released.html)
- [blog.rubygems.org (unsafe object deserialization vulnerabil)](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html)

_Showing 11 of 13 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2017-0903
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp
