CVE-2024-21654: Rubygems.org is the Ruby community's gem hosting service
CVE-2024-21654 is a medium-severity flaw (CVSS 4.8) affecting rubygems.org. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-21654?
rubygems.org: upgrade to 2024-01-08. Exact commands for each OS are on this page.
Is CVE-2024-21654 being exploited?
CVE-2024-21654 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-21654 affect?
CVE-2024-21654 affects rubygems.org. Severity is medium (CVSS 4.8). 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 allo
How urgent is CVE-2024-21654?
Priority 32/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-40165 HIGH 7.4 UPGRADE rubygems.org is the Ruby community's primary gem (library) hosting service