CVE-2022-29218
mediumpriority · track · 30OT risk · elevatedEPSS 0.013 · 70 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-29218/cnnvd
- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8wcnnvd
- https://security.netapp.com/advisory/ntap-20220629-0010/cnnvd
- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8wenisa_euvd
- https://security.netapp.com/advisory/ntap-20220629-0010/enisa_euvd
- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8wExploitThird Party Advisorynvd
- https://security.netapp.com/advisory/ntap-20220629-0010/Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan