{"id":"CVE-2024-21654","state":"PUBLISHED","title":"rubygems.org MFA Bypass through password reset function could allow account takeover","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.","publishedAt":"2024-01-12T20:59:43.094Z","updatedAt":"2024-10-24T15:27:56.733Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["rubygems rubygems.org"],"affected":[{"vendor":"rubygems","product":"rubygems.org","versions":[{"version":"< commit 0b3272a","status":"affected"}]}],"references":["https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2","https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565"],"weaknesses":["CWE-287","CWE-306"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21654.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21654","state":"PUBLISHED","datePublished":"2024-01-12T20:59:43.094Z","dateUpdated":"2024-10-24T15:27:56.733Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-29T16:10:20.366Z"},"containers":{"cna":{"title":"rubygems.org MFA Bypass through password reset function could allow account takeover ","descriptions":[{"lang":"en","value":"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":[{"vendor":"rubygems","product":"rubygems.org","versions":[{"version":"< commit 0b3272a","status":"affected"}]}],"references":[{"url":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2","name":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565","name":"https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-01-12T20:59:43.094Z"},"source":{"advisory":"GHSA-4v23-vj8h-7jp2","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2","name":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4v23-vj8h-7jp2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565","name":"https://github.com/rubygems/rubygems.org/commit/0b3272ac17b45748ee0d1867c49867c7deb26565","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:27:36.174Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-24T15:25:50.298055Z","id":"CVE-2024-21654","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-306","type":"CWE","lang":"en","description":"CWE-306 Missing Authentication for Critical Function"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-24T15:27:56.733Z"}}]}}}