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
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 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0378 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0583 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0585 Third Party Advisory
https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 Patch Third Party Advisory
https://hackerone.com/reports/274990 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html Mailing List Third Party Advisory
https://usn.ubuntu.com/3553-1/ Third Party Advisory
https://usn.ubuntu.com/3685-1/ Third Party Advisory
https://www.debian.org/security/2017/dsa-4031 Third Party Advisory

Technical Details

Vulnerability Type (View All)

  • Deserialization of Untrusted Data (CWE-502)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.0:preview2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.15:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.16:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.0.17:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.0.rc.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.0.rc.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.1.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.0.preiew.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.0.rc.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.2.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.3.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.4.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.5.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:rubygems:2.6.13:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

10 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-0903
NVD Published Date:
10/11/2017
NVD Last Modified:
05/10/2019