Auth bypass in Rubygems Rubygems.org
CVE-2022-29218
RubyGems is a package registry used to supply software for the Ruby language ecosystem. An ordering mistake in the code that accepts gem uploads allowed some gems (with platforms ending in numbers, like `arm64-darwin-21`) to be temporarily replaced in the CDN cache by a malicious package. The bug has been patched, and is believed to have never been exploited, based on an extensive review of logs and existing gems by rubygems. The easiest way to ensure that an application has not been exploited by this vulnerability is to verify all downloaded .gems checksums match the checksum recorded in the RubyGems.org database. RubyGems.org has been patched and is no longer vulnerable to this issue.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.013 (68.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 68.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8w (Exploit, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220629-0010/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29218?
- CVE-2022-29218 is a high-severity vulnerability in Rubygems Rubygems.org, classified under Improper Privilege Management. CVSS score: 7.7/10. Published 2022-05-13.
- How severe is CVE-2022-29218?
- High severity. CVSS v3 base score is 7.7 out of 10.