9.8
CRITICAL
CVE-2017-0903
RubyGems YAML Deserialization Remote Code Execution
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.

INFO

Published Date :

Oct. 11, 2017, 6:29 p.m.

Last Modified :

Oct. 9, 2019, 11:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2017-0903 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_server_tus
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Rubygems rubygems
1 Bundler bundler
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-0903 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-0903 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE HackerOne CWE-502
  • Modified Analysis by [email protected]

    May. 10, 2019

    Action Type Old Value New Value
    Changed Reference Type https://usn.ubuntu.com/3553-1/ No Types Assigned https://usn.ubuntu.com/3553-1/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3685-1/ No Types Assigned https://usn.ubuntu.com/3685-1/ Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3485 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3485 Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html Mailing List, Third Party Advisory
    Changed Reference Type https://hackerone.com/reports/274990 Permissions Required https://hackerone.com/reports/274990 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0585 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0585 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0378 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0378 Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2017/dsa-4031 No Types Assigned https://www.debian.org/security/2017/dsa-4031 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0583 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0583 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 15, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3685-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 28, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0585 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:0583 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3553-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 02, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0378 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 20, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:3485 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 13, 2017

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2017/dsa-4031 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 03, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://hackerone.com/reports/274990 No Types Assigned https://hackerone.com/reports/274990 Permissions Required
    Changed Reference Type http://www.securityfocus.com/bid/101275 No Types Assigned http://www.securityfocus.com/bid/101275 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 No Types Assigned https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 Patch, Third Party Advisory
    Changed Reference Type http://blog.rubygems.org/2017/10/09/2.6.14-released.html No Types Assigned http://blog.rubygems.org/2017/10/09/2.6.14-released.html Vendor Advisory
    Changed Reference Type http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html No Types Assigned http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html Vendor Advisory
    Added CWE CWE-502
    Added CPE Configuration OR *cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.0:preview2:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.1:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.2:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.4:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.6:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.8:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.10:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.11:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.12:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.13:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.14:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.15:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.16:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.0.17:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.0.rc.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.0.rc.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.3:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.4:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.5:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.6:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.7:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.8:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.9:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.10:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.1.11:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.0.preiew.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.0.rc.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.3:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.4:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.2.5:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.3.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.3:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.4:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.5:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.6:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.7:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.4.8:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.5.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.5.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.5.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.0:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.1:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.2:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.3:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.4:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.5:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.6:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.7:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.8:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.9:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.10:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.11:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.12:*:*:*:*:*:*:* *cpe:2.3:a:rubygems:rubygems:2.6.13:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 18, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/101275 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-0903 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-0903 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

13.50 }} -0.87%

score

0.95048

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability