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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/rubygems/rubygems.org/security/advisories/GHSA-8qpf-wf2p-25vg
Patch, Third Party Advisory x_refsource_misc
https://github.com/rubygems/rubygems.org/commit/90c9e6aac2d91518b479c51d48275c57de492d4d
Scores
CVSS v3
8.3
EPSS
0.0045
EPSS Percentile
63.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-287
Status
published
Products (1)
rubygems/rubygems
< 2022-08-31
Published
Sep 07, 2022
Tracked Since
Feb 18, 2026