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 •
CVE-2022-36073 – RubyGems allows creation of users with arbitrary unverified emails
https://notcve.org/view.php?id=CVE-2022-36073
RubyGems.org is the Ruby community gem host. A bug in password & email change confirmation code allowed an attacker to change their RubyGems.org account's email to an unowned email address. Having access to an account whose email has been changed could enable an attacker to save API keys for that account, and when a legitimate user attempts to create an account with their email (and has to reset password to gain access) and is granted access to other gems, the attacker would then be able to publish and yank versions of those gems. Commit number 90c9e6aac2d91518b479c51d48275c57de492d4d contains a patch for this issue. RubyGems.org es el host de gemas de la comunidad Ruby. • https://github.com/rubygems/rubygems.org/commit/90c9e6aac2d91518b479c51d48275c57de492d4d https://github.com/rubygems/rubygems.org/security/advisories/GHSA-8qpf-wf2p-25vg • CWE-287: Improper Authentication •
CVE-2022-29218 – Unauthorized takeover for new versions of some platform-specific gems
https://notcve.org/view.php?id=CVE-2022-29218
RubyGems is a package registry used to supply software for the Ruby language ecosystem. An ordering mistake in the code that accepts gem uploads allowed some gems (with platforms ending in numbers, like `arm64-darwin-21`) to be temporarily replaced in the CDN cache by a malicious package. The bug has been patched, and is believed to have never been exploited, based on an extensive review of logs and existing gems by rubygems. The easiest way to ensure that an application has not been exploited by this vulnerability is to verify all downloaded .gems checksums match the checksum recorded in the RubyGems.org database. RubyGems.org has been patched and is no longer vulnerable to this issue. • https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8w https://security.netapp.com/advisory/ntap-20220629-0010 • CWE-269: Improper Privilege Management CWE-290: Authentication Bypass by Spoofing CWE-863: Incorrect Authorization •
CVE-2022-29176 – Unauthorized gem takeover for some gems on rubygems.org
https://notcve.org/view.php?id=CVE-2022-29176
Rubygems is a package registry used to supply software for the Ruby language ecosystem. Due to a bug in the yank action, it was possible for any RubyGems.org user to remove and replace certain gems even if that user was not authorized to do so. To be vulnerable, a gem needed: one or more dashes in its name creation within 30 days OR no updates for over 100 days At present, we believe this vulnerability has not been exploited. RubyGems.org sends an email to all gem owners when a gem version is published or yanked. We have not received any support emails from gem owners indicating that their gem has been yanked without authorization. • https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79 https://hackerone.com/bugs?subject=rubygems&report_id=1559856 https://security.netapp.com/advisory/ntap-20220616-0002 • CWE-862: Missing Authorization CWE-863: Incorrect Authorization •