CVE-2022-36073: RubyGems allows creation of users with arbitrary unverified emails
Vulnerability summary
CVE-2022-36073 is a high (CVSS 8.8) Improper Authentication vulnerability in rubygems. EPSS estimates a 1.02% chance of exploitation in the next 30 days, higher than 63% of scored vulnerabilities.
Timeline
- 07-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LDiffers
EPSS trend
Probability
1.02%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.99% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Rubygems2 products
- rubygems< 2022-08-31
- rubygems.org< 90c9e6aac2d91518b479c51d48275c57de492d4d
1 vendor · 2 products
References
2 links- github.com/rubygems/rubygems.org/security/advisories/GHSA-8qpf-wf2p-25vgX Refsource CONFIRMPatchThird Party Advisory
- github.com/rubygems/rubygems.org/commit/90c9e6aac2d91518b479c51d48275c57de492d4dX Refsource MISCPatchThird Party Advisory