Vulnerabilities · 2017 · Rubygems
CVE-2017-0903
Rubygems vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Rubygems, Debian Linux, Ubuntu Linux, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Workstation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubygems runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.rubygems.org/2017/10/09/2.6.14-released.html · Vendor Advisory
- blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html · Vendor Advisory
- github.com/rubygems/rubygems/commit/510b1638ac9bba3ceb7a5d73135dafff9e5bab49 · Patch
- www.securityfocus.com/bid/101275 · Third Party Advisory
- access.redhat.com/errata/RHSA-2017:3485 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:0378 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:0583 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:0585 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-0903
- cve.org/CVERecord?id=CVE-2017-0903
More vulnerabilities in Rubygems products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.