CVE-2024-21654
published medium CVSS 3.1 · 4.8rubygems.org MFA Bypass through password reset function could allow account takeover
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rubygems | — | rubygems.org< commit 0b3272a | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rubygems | rubygems.org | < commit 0b3272a (affected) | GitHub_M · cna |
Weaknesses
2- CWE-287 CWE-287: Improper Authentication
- CWE-306 CWE-306 Missing Authentication for Critical Function
References
2Provider assertions
3GitHub_M · cna
rubygems.org MFA Bypass through password reset function could allow account takeover
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c3025c5dd9a277829c76485d80f2307cc9940861bb6fd1a9f4df0dba0b6d9224
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record