{"id":"CVE-2017-0903","aliases":["GHSA-mqwr-4qf2-2hcv"],"url":"https://o3.security/vulnerability/CVE-2017-0903","summary":"RubyGems vulnerable to Deserialization of Untrusted Data","details":"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.","published":"2017-10-11T18:29:00.583Z","modified":"2026-08-27T03:45:31.288715351Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"rubygems-update","fixedVersion":"2.6.14"}],"fix":{"url":"https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49","label":"rubygems/rubygems@510b163"},"references":[{"type":"ADVISORY","url":"http://blog.rubygems.org/2017/10/09/2.6.14-released.html"},{"type":"ADVISORY","url":"http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/101275"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:3485"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:0378"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:0583"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:0585"},{"type":"ADVISORY","url":"https://hackerone.com/reports/274990"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3553-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3685-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2017/dsa-4031"},{"type":"FIX","url":"https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T03:45:31.288715351Z"}}