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

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 9.8 CRITICAL
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (V3 legend)
Impact Score: 5.9
Exploitability Score: 3.9


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 v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
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
http://blog.rubygems.org/2017/10/09/2.6.14-released.html Vendor Advisory
http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html Vendor Advisory
http://www.securityfocus.com/bid/101275 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3485
https://access.redhat.com/errata/RHSA-2018:0378
https://access.redhat.com/errata/RHSA-2018:0583
https://access.redhat.com/errata/RHSA-2018:0585
https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 Patch Third Party Advisory
https://hackerone.com/reports/274990 Permissions Required
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
https://usn.ubuntu.com/3553-1/
https://usn.ubuntu.com/3685-1/
https://www.debian.org/security/2017/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

9 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-0903
NVD Published Date:
10/11/2017
NVD Last Modified:
07/14/2018