CVE-2022-29218
published high CVSS 3.1 · 7.7Unauthorized takeover for new versions of some platform-specific gems
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rubygems | — | rubygems.orgn/a | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rubygems | rubygems.org | n/a (affected) | GitHub_M · cna |
Weaknesses
2- CWE-269 CWE-269: Improper Privilege Management
- CWE-290 CWE-290: Authentication Bypass by Spoofing
References
2Provider assertions
3GitHub_M · cna
Unauthorized takeover for new versions of some platform-specific gems
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 66ca73f96e34ab13790710fb9bb584f75ea917ca807b1503ad2153c63f05bce9
- Ingested
- 23 Sep 2026, 07:59:45 UTC
- Source record
- Official CVE record