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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | RubyGems | Versions >= 2.0.0 |
References
- http://blog.rubygems.org/2017/10/09/2.6.14-released.htmlVendor Advisory
- http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.htmlVendor Advisory
- http://www.securityfocus.com/bid/101275Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3485Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0583Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0585Third Party Advisory
- https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49Patch, Third Party Advisory
- https://hackerone.com/reports/274990Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing 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-4031Third Party Advisory
- http://blog.rubygems.org/2017/10/09/2.6.14-released.htmlVendor Advisory
- http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.htmlVendor Advisory
- http://www.securityfocus.com/bid/101275Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3485Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0583Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0585Third Party Advisory
- https://github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49Patch, Third Party Advisory
- https://hackerone.com/reports/274990Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing 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-4031Third Party Advisory
Timeline
- Published
- Oct 11, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified