« List of all CVEs

CVE-2022-36073

RubyGems allows creation of users with arbitrary unverified emails

Published: 9/7/2022 Last updated: 4/23/2025 Reserved: 7/15/2022

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 8.3 High CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Opam packages affected (1)

conf-ruby

Products affected (1)

Product Vendor Version
rubygems.org rubygems < *

References (4)