CVE-2017-0903
Summary
| CVE | CVE-2017-0903 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-10-11 18:29:00 UTC |
| Updated | 2019-10-09 23:21:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-502
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 17.10 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 17.10 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.5 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.5 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2.1 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2.2 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | rc1 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | rc2 | All | All |
| Application | Rubygems | Rubygems | 2.0.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.12 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.13 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.14 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.15 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.16 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.17 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0.rc.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0.rc.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0.preiew.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0.rc.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.3.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.12 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.13 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2.1 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | preview2.2 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | rc1 | All | All |
| Application | Rubygems | Rubygems | 2.0.0 | rc2 | All | All |
| Application | Rubygems | Rubygems | 2.0.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.12 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.13 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.14 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.15 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.16 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.17 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.0.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0.rc.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.0.rc.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.1.9 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0.preiew.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.0.rc.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.2.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.3.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.4.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.5.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.0 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.1 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.10 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.11 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.12 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.13 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.2 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.3 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.4 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.5 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.6 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.7 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.8 | All | All | All |
| Application | Rubygems | Rubygems | 2.6.9 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| RubyGems CVE-2017-0903 Remote Code Execution Vulnerability | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| HackerOne | MISC | hackerone.com | Third Party Advisory |
| [SECURITY] [DLA 1421-1] ruby2.1 security update | MLIST | lists.debian.org | Mailing List, Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| Debian -- Security Information -- DSA-4031-1 ruby2.3 | DEBIAN | www.debian.org | Third Party Advisory |
| USN-3553-1: Ruby vulnerabilities | Ubuntu security notices | UBUNTU | usn.ubuntu.com | Third Party Advisory |
| Whitelist classes and symbols that are in Gem spec YAML · rubygems/rubygems@510b163 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| USN-3685-1: Ruby vulnerabilities | Ubuntu security notices | UBUNTU | usn.ubuntu.com | Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| 2.6.14 Released - RubyGems Blog | MISC | blog.rubygems.org | Vendor Advisory |
| Unsafe Object Deserialization Vulnerability in RubyGems - RubyGems Blog | MISC | blog.rubygems.org | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.