CVE-2022-29176
"RubyGems Unapproved Gem Yanking Vulnerability"
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.
INFO
Published Date :
May 5, 2022, 10:15 p.m.
Last Modified :
Feb. 10, 2023, 5:01 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.1
Public PoC/Exploit Available at Github
CVE-2022-29176 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29176
.
URL | Resource |
---|---|
https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79 | Mitigation Third Party Advisory |
https://hackerone.com/bugs?subject=rubygems&report_id=1559856 | Permissions Required Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220616-0002/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29176
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29176
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Feb. 10, 2023
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220616-0002/ No Types Assigned https://security.netapp.com/advisory/ntap-20220616-0002/ Third Party Advisory -
CVE Modified by [email protected]
Jun. 16, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220616-0002/ [No Types Assigned] -
Initial Analysis by [email protected]
May. 16, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79 No Types Assigned https://github.com/rubygems/rubygems.org/security/advisories/GHSA-hccv-rwq6-vh79 Mitigation, Third Party Advisory Changed Reference Type https://hackerone.com/bugs?subject=rubygems&report_id=1559856 No Types Assigned https://hackerone.com/bugs?subject=rubygems&report_id=1559856 Permissions Required, Third Party Advisory Added CWE NIST CWE-863 Added CPE Configuration OR *cpe:2.3:a:rubygems:rubygems.org:-:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29176
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29176
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.30 }} -0.06%
score
0.68858
percentile