Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubygems | Rubygems | <= 2.6.12 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.4 |
| Redhat | Enterprise Linux Server Eus | 7.4 |
| Redhat | Enterprise Linux Server Tus | 7.4 |
| Redhat | Enterprise Linux Workstation | 7.0 |
Related Weaknesses (CWE)
References
- http://blog.rubygems.org/2017/08/27/2.6.13-released.htmlPatchVendor Advisory
- http://www.securityfocus.com/bid/100580Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039249Third Party AdvisoryVDB 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/ad5c0a53a86ca5b218c7976765c0365b91d2PatchThird Party Advisory
- https://hackerone.com/reports/243156ExploitPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201710-01Third 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-3966Third Party Advisory
- https://www.exploit-db.com/exploits/42611/ExploitThird Party AdvisoryVDB Entry
FAQ
What is CVE-2017-0901?
CVE-2017-0901 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.
How severe is CVE-2017-0901?
CVE-2017-0901 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-0901?
Check the references section above for vendor advisories and patch information. Affected products include: Rubygems Rubygems, Debian Debian Linux, Canonical Ubuntu Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server.