CVE-2024-21654 – rubygems.org MFA Bypass through password reset function could allow account takeover
https://notcve.org/view.php?id=CVE-2024-21654
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. Rubygems.org es el servicio de alojamiento de gemas de la comunidad Ruby. • https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565 https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2 • CWE-287: Improper Authentication CWE-306: Missing Authentication for Critical Function •
CVE-2023-40165 – Unauthorized gem replacement for full names ending in numbers on rubygems.org
https://notcve.org/view.php?id=CVE-2023-40165
rubygems.org is the Ruby community's primary gem (library) hosting service. Insufficient input validation allowed malicious actors to replace any uploaded gem version that had a platform, version number, or gem name matching `/-\d/`, permanently replacing the legitimate upload in the canonical gem storage bucket, and triggering an immediate CDN purge so that the malicious gem would be served immediately. The maintainers have checked all gems matching the `/-\d/` pattern and can confirm that no unexpected `.gem`s were found. As a result, we believe this vulnerability was _not_ exploited. The easiest way to ensure that a user's applications were not exploited by this vulnerability is to check that all of your downloaded .gems have a checksum that matches the checksum recorded in the RubyGems.org database. • https://github.com/rubygems/rubygems.org/commit/7e19c19247ddf5885a915710afc60ec6663d8502 https://github.com/rubygems/rubygems.org/security/advisories/GHSA-rxcq-2m4f-94wm • CWE-20: Improper Input Validation •