CVEvulnerability
CVE-2022-29218
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-269, CWE-290, CWE-863
Description
RubyGems is a package registry used to supply software for the Ruby language ecosystem. An ordering mistake in the code that accepts gem uploads allowed some gems (with platforms ending in numbers, like `arm64-darwin-21`) to be temporarily replaced in the CDN cache by a malicious package. The bug has been patched, and is believed to have never been exploited, based on an extensive review of logs and existing gems by rubygems. The easiest way to ensure that an application has not been exploited by this vulnerability is to verify all downloaded .gems checksums match the checksum recorded in the RubyGems.org database. RubyGems.org has been patched and is no longer vulnerable to this issue.
Affected configurations
• rubygems rubygems.org
Related
References
- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8w Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220629-0010/ Third Party Advisory
- https://github.com/rubygems/rubygems.org/security/advisories/GHSA-2jmx-8mh8-pm8w Exploit, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220629-0010/ Third Party Advisory