BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2017-0903 in Canonical Ubuntu Linux and 8 more products

Critical 9.8

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.

Affects 9 products from 4 vendors. Facts below cite their sources.

CVSS 3.09.8
EPSS15.9%
EPSS percentile98th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 14.04 16.04 17.10
Debian Debian Linux 8.0 9.0
Redhat Enterprise Linux Server 7.0
Redhat Enterprise Linux Workstation 7.0
Redhat Enterprise Linux Server Eus 7.4 7.5 7.6
Redhat Enterprise Linux Server Tus 7.4 7.6
Redhat Enterprise Linux Server Aus 7.4 7.6
Redhat Enterprise Linux Desktop 7.0
Rubygems Rubygems 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5
+61 more2.0.6 2.0.7 2.0.8 2.0.9 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.1.0 2.1.0.rc.1 2.1.0.rc.2 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.2.0 2.2.0.preiew.1 2.2.0.rc.1 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.6.10 2.6.11 2.6.12 2.6.13

Show 1 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-0903
BreachSpider IDBS-2017-GLOBAL-113661-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2017-10-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

Related attack patterns (CAPEC)

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A critical vulnerability affects Canonical systems (CVE-2017-0903). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2017-0903?

This vulnerability was disclosed in 2017. A critical vulnerability affects Canonical systems (CVE-2017-0903). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-0903?

CVE-2017-0903 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 15.9%.

Is CVE-2017-0903 actively exploited?

No confirmed active exploitation of CVE-2017-0903 as of 2026-09-25.

How do I remediate CVE-2017-0903?

Priority: MEDIUM. Advisory: http://blog.rubygems.org/2017/10/09/2.6.14-released.html PSIRT: [email protected]

What systems are affected by CVE-2017-0903?

CVE-2017-0903 affects Canonical Ubuntu Linux; Debian Debian Linux; Redhat Enterprise Linux Server, Enterprise Linux Workstation, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Server Aus, Enterprise Linux Desktop; Rubygems Rubygems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.