Auth bypass in Rubygems

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.

Vulnerability class: Broken Authentication

EPSS: 0.008 (54.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-36073?
CVE-2022-36073 is a high-severity vulnerability in Rubygems, classified under Improper Authentication. CVSS score: 8.3/10. Published 2022-09-07.
How severe is CVE-2022-36073?
High severity. CVSS v3 base score is 8.3 out of 10.