CVE-2022-36073 RubyGems allows creation of users with arbitrary unverified emails
Attackers can change account emails to unowned addresses, enabling future account takeover and malicious gem publishing when legitimate users reset passwords.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-36073?
CVE-2022-36073 is a high-severity vulnerability in rubygems.org, published on 7 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-287
Which versions are affected by CVE-2022-36073?
It affects 1 product.
Products include Rubygems Rubygems.
How do I fix CVE-2022-36073?
No fix has been published for CVE-2022-36073 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-36073 being exploited?
There is no known exploitation of CVE-2022-36073 in the wild and no public exploit code.
Other vulnerabilities in rubygems.org
- CVE-2018-1000074 RubyGems Deserialization of Untrusted Data vulnerability
- CVE-2018-1000073 RubyGems Link Following vulnerability
- CVE-2019-8320 RubyGems Delete directory using symlink when decompressing tar
- CVE-2012-2125 RubyGems HTTPS to HTTP redirect
- CVE-2018-1000079 RubyGems Path Traversal vulnerability
Sources
Also known as GHSA-8qpf-wf2p-25vg.