CVE-2024-21654Rubygems.org
Critical 9.8 No auth needed
Follow: this CVE · Rubygems · Rubygems.org We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- Jan 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Rubygems.org is the Ruby community's gem hosting service. Rubygems.org users with MFA enabled would normally be protected from account takeover in the case of email account takeover. However, a workaround on the forgotten password form allows an attacker to bypass the MFA requirement and takeover the account. This vulnerability has been patched in commit 0b3272a.
What to do
- Apply the vendor's security update for Rubygems.org.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubygems | rubygems.org | < 2024-01-08 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory