High severity · published May 13, 2022
CVE-2022-29218
RubyGems is a package registry used to supply software for the Ruby language ecosystem
7.5
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RU
Rubygems.org · Rubygems
All versions, or not specified · source: NVD
Affected product
RU
Rubygems.org
Rubygems
More from Rubygems.org
9.8
CVE-2024-21654
Rubygems.org is the Ruby community's gem hosting service
7.5
CVE-2023-40165
rubygems.org is the Ruby community's primary gem (library) hosting service
7.5
CVE-2022-29176
Rubygems is a package registry used to supply software for the Ruby language ecosystem
4.3
CVE-2024-35221
Denial of service when publishing a package on rubygems.org