ID CVE-2017-0903
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:*
    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:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.1:*:*:*:*:*:*
    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:preview2.2:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.0:rc1:*:*:*:*:*:*
    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.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:*
    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.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:*
    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.4:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:*
    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.6:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:*
    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.8:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:*
    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.10:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.11:*:*:*:*:*:*:*
    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.12:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.13:*:*:*:*:*:*:*
    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.14:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.15:*:*:*:*:*:*:*
    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.16:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.0.17:*:*:*:*:*:*:*
    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:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.0.rc.1:*:*:*:*:*:*:*
    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.0.rc.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.1:*:*:*:*:*:*:*
    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.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.3:*:*:*:*:*:*:*
    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.4:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.5:*:*:*:*:*:*:*
    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.6:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.7:*:*:*:*:*:*:*
    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.8:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.9:*:*:*:*:*:*:*
    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.10:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.1.11:*:*:*:*:*:*:*
    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:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.2.0.preiew.1:*:*:*:*:*:*:*
    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.0.rc.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.2.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.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.2.3:*:*:*:*:*:*:*
    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.4:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.2.5:*:*:*:*:*:*:*
    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.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.4.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.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.4.2:*:*:*:*:*:*:*
    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.3:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.4.4:*:*:*:*:*:*:*
    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.5:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.4.6:*:*:*:*:*:*:*
    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.7:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.4.8:*:*:*:*:*:*:*
    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.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.5.1:*:*:*:*:*:*:*
    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.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.0:*:*:*:*:*:*:*
    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.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.2:*:*:*:*:*:*:*
    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.3:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.4:*:*:*:*:*:*:*
    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.5:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.6:*:*:*:*:*:*:*
    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.7:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.8:*:*:*:*:*:*:*
    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.9:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.10:*:*:*:*:*:*:*
    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.11:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.12:*:*:*:*:*:*:*
    cpe:2.3:a:rubygems:rubygems:2.6.12:*:*:*:*:*:*:*
  • cpe:2.3:a:rubygems:rubygems:2.6.13:*:*:*:*:*:*:*
    cpe:2.3:a:rubygems:rubygems:2.6.13:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
    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:16.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
    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:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
    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_aus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
    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.5:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
    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.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 09-10-2019 - 23:21)
Impact:
Exploitability:
CWE CWE-502
CAPEC
  • Object Injection
    An adversary attempts to exploit an application by injecting additional, malicious content during its processing of serialized objects. Developers leverage serialization in order to convert data or state into a static, binary format for saving to disk or transferring over a network. These objects are then deserialized when needed to recover the data/state. By injecting a malformed object into a vulnerable application, an adversary can potentially compromise the application by manipulating the deserialization process. This can result in a number of unwanted outcomes, including remote code execution.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2017:3485
  • rhsa
    id RHSA-2018:0378
  • rhsa
    id RHSA-2018:0583
  • rhsa
    id RHSA-2018:0585
rpms
  • ruby-0:2.0.0.648-33.el7_4
  • ruby-devel-0:2.0.0.648-33.el7_4
  • ruby-doc-0:2.0.0.648-33.el7_4
  • ruby-irb-0:2.0.0.648-33.el7_4
  • ruby-libs-0:2.0.0.648-33.el7_4
  • ruby-tcltk-0:2.0.0.648-33.el7_4
  • rubygem-bigdecimal-0:1.2.0-33.el7_4
  • rubygem-io-console-0:0.4.2-33.el7_4
  • rubygem-json-0:1.7.7-33.el7_4
  • rubygem-minitest-0:4.3.2-33.el7_4
  • rubygem-psych-0:2.0.0-33.el7_4
  • rubygem-rake-0:0.9.6-33.el7_4
  • rubygem-rdoc-0:4.0.0-33.el7_4
  • rubygems-0:2.0.14.1-33.el7_4
  • rubygems-devel-0:2.0.14.1-33.el7_4
refmap via4
bid 101275
debian DSA-4031
misc
mlist [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update
ubuntu
  • USN-3553-1
  • USN-3685-1
Last major update 09-10-2019 - 23:21
Published 11-10-2017 - 18:29
Back to Top