National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-0903 Detail

Current 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:  MITRE      Last Modified:  10/11/2017      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2017-0903
Original release date:
10/11/2017
Last revised:
12/19/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
CVSS v3 Base Score:
9.8 Critical
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (legend)
Impact Score:
5.9
Exploitability Score:
3.9
CVSS Version 3 Metrics:
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High
CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://blog.rubygems.org/2017/10/09/2.6.14-released.html Vendor Advisory External Source MISC http://blog.rubygems.org/2017/10/09/2.6.14-released.html
http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html Vendor Advisory External Source MISC http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html
http://www.securityfocus.com/bid/101275 Third Party Advisory; VDB Entry External Source BID 101275
https://access.redhat.com/errata/RHSA-2017:3485 External Source REDHAT RHSA-2017:3485
https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 Patch; Third Party Advisory External Source MISC https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49
https://hackerone.com/reports/274990 Permissions Required External Source MISC https://hackerone.com/reports/274990
https://www.debian.org/security/2017/dsa-4031 External Source DEBIAN DSA-4031

Technical Details

Vulnerability Type (View All)

  • Deserialization of Untrusted Data (CWE-502)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
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:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 4 change records found - show changes