CVE-2024-21654: rubygems.org MFA Bypass through password reset function could allow account takeover

Published Jan 12, 2024
·
Updated

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.

Affected Software

1 affected component
Rubygems Rubygems.org<2024-01-08

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems.org to a version that resolves this vulnerability.

    Patch 0b3272a

Event History

Jan 12, 2024
CVE Published
via MITRE·08:59 PM
Data Sourced
via MITRE·08:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21654?

CVE-2024-21654 has a high severity rating due to the potential for account takeover despite MFA being enabled.

2

How do I fix CVE-2024-21654?

To fix CVE-2024-21654, it is recommended to update RubyGems to a version later than 2024-01-08.

3

Who is affected by CVE-2024-21654?

Users of rubygems.org who have multi-factor authentication (MFA) enabled are affected by CVE-2024-21654.

4

What type of vulnerability is CVE-2024-21654?

CVE-2024-21654 is classified as a security vulnerability related to authentication bypass.

5

Can CVE-2024-21654 be exploited remotely?

Yes, CVE-2024-21654 can potentially be exploited remotely through the forgotten password form on rubygems.org.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203