Read the docs
TI-2024-14379 Aliases CVE-2024-21654

rubygems.org MFA Bypass through password reset function could allow account takeover

Priority MEDIUM 49CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-287.

Summary

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 it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0048 41st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rubygemsrubygems.org< commit 0b3272a—No fix listedCNA
  • rubygems.org Vendorrubygems Affected < commit 0b3272a Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rubygems:rubygems.org:*:*:*:*:*:*:*:*before 2024-01-08Vulnerablerubygems
  • cpe:2.3:a:rubygems:rubygems.org:*:*:*:*:*:*:*:* Versions before 2024-01-08 Vulnerable ·rubygems

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21654

References

  • TI-2022-11761 Unauthorized takeover for new versions of some platform-specific gems CVSS 3.1HIGH 7.7
  • TI-2022-11719 Unauthorized gem takeover for some gems on rubygems.org CVSS 3.1CRITICAL 9.9
  • TI-2023-21039 Unauthorized gem replacement for full names ending in numbers on rubygems.org CVSS 3.1HIGH 7.5

Sources