Vulnerability · Published Sep 7, 2022 · Assigned by GitHub_M

CVE-2022-36073RubyGems allows creation of users with arbitrary unverified emails

High 8.3

In plain English

A high-severity improper authentication in rubygems.org from rubygems. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)1.0%top 35.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected products (as reported)

VendorProductVersions
rubygems rubygems.org < 90c9e6aac2d91518b479c51d48275c57de492d4d

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

References