Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-29218— Unauthorized takeover for new versions of some platform-specific gems

Quick assessment

Affected
rubygems rubygems.org
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RubyGems是Rubygems组织的一款Ruby程序包管理器。该产品主要用于发布和管理Ruby程序包。 RubyGems存在安全漏洞,该漏洞源于gem上传代码中存在排序错误,某些gem在CDN缓存中被恶意程序包临时替换。

CVSS 7.7 · High EPSS 1.31% · P70
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-29218

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unauthorized takeover for new versions of some platform-specific gems
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
特权管理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
RubyGems 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RubyGems是Rubygems组织的一款Ruby程序包管理器。该产品主要用于发布和管理Ruby程序包。 RubyGems存在安全漏洞,该漏洞源于gem上传代码中存在排序错误,某些gem在CDN缓存中被恶意程序包临时替换。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
rubygems rubygems.org n/a -

II. Public POCs for CVE-2022-29218

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-29218

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-29218 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-29218

No comments yet


Leave a comment