Vulnerabilities · 2017 · Rubygems
CVE-2017-0901
Rubygems vulnerability
RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
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/08/27/2.6.13-released.html · Patch
- github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2 · Patch
- hackerone.com/reports/243156 · Exploit
- www.securityfocus.com/bid/100580 · Third Party Advisory
- www.securitytracker.com/id/1039249 · 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
- nvd.nist.gov/vuln/detail/CVE-2017-0901
- cve.org/CVERecord?id=CVE-2017-0901
More vulnerabilities in Rubygems products
CVE-2024-21654CVE-2023-40165CVE-2022-36073CVE-2022-29218CVE-2022-29176CVE-2019-8325CVE-2019-8324CVE-2019-8323All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.