rubygems.org MFA Bypass through password reset function could allow account takeover
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
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
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
- 2026-10-02 Threatist record created from CVE-2024-21654
References
More Rubygems.org vulnerabilities
- 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
- CVE-2024-21654 · CVE Program
- CVE-2024-21654 · NVD
- FIRST EPSS
- CVE-2024-21654 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences