
CVE-2024-21654 – rubygems.org MFA Bypass through password reset function could allow account takeover
https://notcve.org/view.php?id=CVE-2024-21654
12 Jan 2024 — 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 • 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
17 Aug 2023 — 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 `.... • https://github.com/rubygems/rubygems.org/commit/7e19c19247ddf5885a915710afc60ec6663d8502 • CWE-20: Improper Input Validation •

CVE-2022-29218 – Unauthorized takeover for new versions of some platform-specific gems
https://notcve.org/view.php?id=CVE-2022-29218
12 May 2022 — 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 vulne... • https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8w • 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
05 May 2022 — 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 y... • https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79 • CWE-862: Missing Authorization CWE-863: Incorrect Authorization •