// For flags

CVE-2017-0903

rubygems: Unsafe object deserialization through YAML formatted gem specifications

Severity Score

9.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Las versiones de RubyGems entre la 2.0.0 y la 2.6.13 son vulnerables a una posible vulnerabilidad de ejecución remota de código. La deserialización YAML de especificaciones de gemas puede omitir listas blancas de clases. Es posible que se utilicen objetos serializados especialmente manipulados para escalar a ejecución remota de código.

A vulnerability was found where the rubygems module was vulnerable to an unsafe YAML deserialization when inspecting a gem. Applications inspecting gem files without installing them can be tricked to execute arbitrary code in the context of the ruby interpreter.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-11-30 CVE Reserved
  • 2017-10-11 CVE Published
  • 2023-12-07 EPSS Updated
  • 2024-09-17 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-20: Improper Input Validation
  • CWE-502: Deserialization of Untrusted Data
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
preview2
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
preview2.1
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
preview2.2
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
rc1
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.0
Search vendor "Rubygems" for product "Rubygems" and version "2.0.0"
rc2
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.1
Search vendor "Rubygems" for product "Rubygems" and version "2.0.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.2
Search vendor "Rubygems" for product "Rubygems" and version "2.0.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.3
Search vendor "Rubygems" for product "Rubygems" and version "2.0.3"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.4
Search vendor "Rubygems" for product "Rubygems" and version "2.0.4"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.5
Search vendor "Rubygems" for product "Rubygems" and version "2.0.5"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.6
Search vendor "Rubygems" for product "Rubygems" and version "2.0.6"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.7
Search vendor "Rubygems" for product "Rubygems" and version "2.0.7"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.8
Search vendor "Rubygems" for product "Rubygems" and version "2.0.8"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.9
Search vendor "Rubygems" for product "Rubygems" and version "2.0.9"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.10
Search vendor "Rubygems" for product "Rubygems" and version "2.0.10"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.11
Search vendor "Rubygems" for product "Rubygems" and version "2.0.11"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.12
Search vendor "Rubygems" for product "Rubygems" and version "2.0.12"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.13
Search vendor "Rubygems" for product "Rubygems" and version "2.0.13"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.14
Search vendor "Rubygems" for product "Rubygems" and version "2.0.14"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.15
Search vendor "Rubygems" for product "Rubygems" and version "2.0.15"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.16
Search vendor "Rubygems" for product "Rubygems" and version "2.0.16"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.0.17
Search vendor "Rubygems" for product "Rubygems" and version "2.0.17"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.0
Search vendor "Rubygems" for product "Rubygems" and version "2.1.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.0.rc.1
Search vendor "Rubygems" for product "Rubygems" and version "2.1.0.rc.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.0.rc.2
Search vendor "Rubygems" for product "Rubygems" and version "2.1.0.rc.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.1
Search vendor "Rubygems" for product "Rubygems" and version "2.1.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.2
Search vendor "Rubygems" for product "Rubygems" and version "2.1.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.3
Search vendor "Rubygems" for product "Rubygems" and version "2.1.3"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.4
Search vendor "Rubygems" for product "Rubygems" and version "2.1.4"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.5
Search vendor "Rubygems" for product "Rubygems" and version "2.1.5"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.6
Search vendor "Rubygems" for product "Rubygems" and version "2.1.6"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.7
Search vendor "Rubygems" for product "Rubygems" and version "2.1.7"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.8
Search vendor "Rubygems" for product "Rubygems" and version "2.1.8"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.9
Search vendor "Rubygems" for product "Rubygems" and version "2.1.9"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.10
Search vendor "Rubygems" for product "Rubygems" and version "2.1.10"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.1.11
Search vendor "Rubygems" for product "Rubygems" and version "2.1.11"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.0
Search vendor "Rubygems" for product "Rubygems" and version "2.2.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.0.preiew.1
Search vendor "Rubygems" for product "Rubygems" and version "2.2.0.preiew.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.0.rc.1
Search vendor "Rubygems" for product "Rubygems" and version "2.2.0.rc.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.1
Search vendor "Rubygems" for product "Rubygems" and version "2.2.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.2
Search vendor "Rubygems" for product "Rubygems" and version "2.2.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.3
Search vendor "Rubygems" for product "Rubygems" and version "2.2.3"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.4
Search vendor "Rubygems" for product "Rubygems" and version "2.2.4"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.2.5
Search vendor "Rubygems" for product "Rubygems" and version "2.2.5"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.3.0
Search vendor "Rubygems" for product "Rubygems" and version "2.3.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.0
Search vendor "Rubygems" for product "Rubygems" and version "2.4.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.1
Search vendor "Rubygems" for product "Rubygems" and version "2.4.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.2
Search vendor "Rubygems" for product "Rubygems" and version "2.4.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.3
Search vendor "Rubygems" for product "Rubygems" and version "2.4.3"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.4
Search vendor "Rubygems" for product "Rubygems" and version "2.4.4"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.5
Search vendor "Rubygems" for product "Rubygems" and version "2.4.5"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.6
Search vendor "Rubygems" for product "Rubygems" and version "2.4.6"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.7
Search vendor "Rubygems" for product "Rubygems" and version "2.4.7"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.4.8
Search vendor "Rubygems" for product "Rubygems" and version "2.4.8"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.5.0
Search vendor "Rubygems" for product "Rubygems" and version "2.5.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.5.1
Search vendor "Rubygems" for product "Rubygems" and version "2.5.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.5.2
Search vendor "Rubygems" for product "Rubygems" and version "2.5.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.0
Search vendor "Rubygems" for product "Rubygems" and version "2.6.0"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.1
Search vendor "Rubygems" for product "Rubygems" and version "2.6.1"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.2
Search vendor "Rubygems" for product "Rubygems" and version "2.6.2"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.3
Search vendor "Rubygems" for product "Rubygems" and version "2.6.3"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.4
Search vendor "Rubygems" for product "Rubygems" and version "2.6.4"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.5
Search vendor "Rubygems" for product "Rubygems" and version "2.6.5"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.6
Search vendor "Rubygems" for product "Rubygems" and version "2.6.6"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.7
Search vendor "Rubygems" for product "Rubygems" and version "2.6.7"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.8
Search vendor "Rubygems" for product "Rubygems" and version "2.6.8"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.9
Search vendor "Rubygems" for product "Rubygems" and version "2.6.9"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.10
Search vendor "Rubygems" for product "Rubygems" and version "2.6.10"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.11
Search vendor "Rubygems" for product "Rubygems" and version "2.6.11"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.12
Search vendor "Rubygems" for product "Rubygems" and version "2.6.12"
-
Affected
Rubygems
Search vendor "Rubygems"
Rubygems
Search vendor "Rubygems" for product "Rubygems"
2.6.13
Search vendor "Rubygems" for product "Rubygems" and version "2.6.13"
-
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
8.0
Search vendor "Debian" for product "Debian Linux" and version "8.0"
-
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
9.0
Search vendor "Debian" for product "Debian Linux" and version "9.0"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
14.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04"
lts
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
16.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04"
lts
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
17.10
Search vendor "Canonical" for product "Ubuntu Linux" and version "17.10"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Desktop
Search vendor "Redhat" for product "Enterprise Linux Desktop"
7.0
Search vendor "Redhat" for product "Enterprise Linux Desktop" and version "7.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server
Search vendor "Redhat" for product "Enterprise Linux Server"
7.0
Search vendor "Redhat" for product "Enterprise Linux Server" and version "7.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
7.4
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "7.4"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
7.6
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "7.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Eus
Search vendor "Redhat" for product "Enterprise Linux Server Eus"
7.4
Search vendor "Redhat" for product "Enterprise Linux Server Eus" and version "7.4"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Eus
Search vendor "Redhat" for product "Enterprise Linux Server Eus"
7.5
Search vendor "Redhat" for product "Enterprise Linux Server Eus" and version "7.5"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Eus
Search vendor "Redhat" for product "Enterprise Linux Server Eus"
7.6
Search vendor "Redhat" for product "Enterprise Linux Server Eus" and version "7.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Tus
Search vendor "Redhat" for product "Enterprise Linux Server Tus"
7.4
Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "7.4"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Tus
Search vendor "Redhat" for product "Enterprise Linux Server Tus"
7.6
Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "7.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Workstation
Search vendor "Redhat" for product "Enterprise Linux Workstation"
7.0
Search vendor "Redhat" for product "Enterprise Linux Workstation" and version "7.0"
-
Affected