CVE-2022-29218CWE-269CWE-290

Unauthorized takeover for new versions of some platform-specific gems

High · published May 12, 2022

CVSS v3.1
7.7
EPSS
1%
Percentile
70.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01309 · 70.4th percentile
Weaknesses
CWE-269 · Improper Privilege Management; CWE-290 · Authentication Bypass by Spoofing
Published
2022-05-12T23:55Z
EPSS history
Timeline
  • 12 MAY 23:55Z
    Unauthorized takeover for new versions of some platform-specific gems
    cvelistv5