CVE-2017-0900 — Vulnerability in rubygems-update — CVE Details
RubyGems Improper Input Validation vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (8.49%). Schedule for your next planned update.
Does your project use an affected rubygems-update version?
Paste your Gemfile.lock to check it for CVE-2017-0900 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
RubyGems versions 2.6.12 and earlier are vulnerable to maliciously crafted gem specifications that cause a denial of service attack against RubyGems clients who have issued a query command.
Advisory Timeline
- First published May 14, 2022 (1657 days ago).
- Last revised November 8, 2023 — 543 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rubygems-update -v 2.6.13
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| rubygems-update RubyGems · Affected: 0.8.10, 0.8.11, 0.8.3, 0.8.4 (+135 more) | 2.6.13 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-0900ADVISORY
- https://github.com/rubygems/rubygems/commit/8a38a4fc24c6591e6c8f43d1fadab6efeb4d6251WEB
- https://hackerone.com/reports/243003WEB
- https://access.redhat.com/errata/RHSA-2017:3485WEB
- https://access.redhat.com/errata/RHSA-2018:0378WEB
- https://access.redhat.com/errata/RHSA-2018:0583WEB
- https://access.redhat.com/errata/RHSA-2018:0585WEB
- https://github.com/rubygems/rubygemsPACKAGE
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlWEB
- https://security.gentoo.org/glsa/201710-01WEB
- https://web.archive.org/web/20190212090616/http://www.securitytracker.com/id/1039249WEB
- https://web.archive.org/web/20200227143907/http://www.securityfocus.com/bid/100579WEB
- https://www.debian.org/security/2017/dsa-3966WEB
- https://blog.rubygems.org/2017/08/27/2.6.13-released.htmlWEB
Frequently Asked Questions
- What is CVE-2017-0900?
- RubyGems Improper Input Validation vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2017-0900?
- CVE-2017-0900 affects rubygems-update. It has a 8.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-0900 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 95.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2019-8323HIGH
RubyGems Escape sequence injection vulnerability in api response handling
- CVE-2019-8325HIGH
RubyGems Escape sequence injection in errors
- CVE-2019-8320HIGH
RubyGems Delete directory using symlink when decompressing tar
- CVE-2017-0902HIGH
RubyGems has Origin Validation Error vulnerability
- CVE-2018-1000075HIGH
RubyGems Infinite Loop vulnerability
- CVE-2019-8324HIGH
Code injection in RubyGems
- CVE-2017-0901HIGH
RubyGems may allow a maliciously crafted gem to overwrite files
- CVE-2018-1000074HIGH
RubyGems Deserialization of Untrusted Data vulnerability