Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-29176
rubygems rubygems.org

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.4%
within the next 30 days
CategoryAccess control & privilege
Published5 May 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Special conditions are required for a successful attack, which makes exploitation harder.

Weakness type: Missing authorization.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Rubygems is a package registry used to supply software for the Ruby language ecosystem. Due to a bug in the yank action, it was possible for any RubyGems.org user to remove and replace certain gems even if that user was not authorized to do so. To be vulnerable, a gem needed: one or more dashes in its name creation within 30 days OR no updates for over 100 days At present, we believe this vulnerability has not been exploited. RubyGems.org sends an email to all gem owners when a gem version is published or yanked. We have not received any support emails from gem owners indicating that their gem has been yanked without authorization. An audit of gem changes for the last 18 months did not find any examples of this vulnerability being used in a malicious way. A deeper audit for any possible use of this exploit is ongoing, and we will update this advisory once it is complete. Using Bundler in --frozen or --deployment mode in CI and during deploys, as the Bundler team has always recommended, will guarantee that your application does not silently switch to versions created using this exploit. To audit your application history for possible past exploits, review your Gemfile.lock and look for gems whose platform changed when the version number did not change. For example, gemname-3.1.2 updating to gemname-3.1.2-java could indicate a possible abuse of this vulnerability. RubyGems.org has been patched and is no longer vulnerable to this issue as of the 5th of May 2022.

CVSS: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-862 – Missing authorization, CWE-863 – Incorrect authorization

Affected products

VendorProductVersions
rubygemsrubygems.orgnot specified

Sources

Latest in the same category

  • CVE-2026-139886 Medium 4.8
    A vulnerability has been found in ApodexAI FrontierAgent up to 0.1.0. The impacted element is the function PermissionStore.load of the file apodex/permissions.py. The manipulation leads to improper authorization. An…
    Access control & privilege · 30 November 2026
  • CVE-2026-115422 Critical 9.8
    A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count…
    Access control & privilege · 30 November 2026
  • CVE-2026-109159 High 8.2
    A flaw was found in FreeIPA. A directory principal holding only the right to add new entries in the directory can create a Kerberos service principal configured for unconstrained delegation that remains fully…
    Access control & privilege · 30 November 2026
  • CVE-2026-107934 Critical 9.1
    A privilege escalation from host to domain admin vulnerability was found in the FreeIPA project. The krbPrincipalMatch matching rule used to enforce Kerberos principal name uniqueness does not perform RFC 4517…
    Access control & privilege · 30 November 2026
  • CVE-2026-92440 High 7
    Incorrect route priority calculation in Kong Gateway Enterprise and Kong AI Gateway, when route_match_calculation is original (the default) with the traditional_compatible or expressions router, can select an…
    Access control & privilege · 30 November 2026
  • CVE-2026-125088 High 8.6
    Incorrect authorization in the Admins API of Kong Gateway Enterprise and Kong AI Gateway allows a workspace-scoped administrator to modify administrator accounts outside its workspace via wildcard scoping, obtaining…
    Access control & privilege · 30 November 2026