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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-27220

Quick assessment

Affected
ruby-lang CGI
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.

Ruby是松本行弘(Yukihiro Matsumoto)个人开发者的一种跨平台、面向对象的动态类型编程语言。 Ruby 0.4.2之前版本存在安全漏洞,该漏洞源于Util#escapeElement方法中的正则表达式拒绝服务。

CVSS 4.0 · Medium EPSS 0.73% · P51

Possible ATT&CK Techniques 1 AI

T1499.002 · Service Exhaustion Flood
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-27220

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5
Vulnerability Title
Ruby 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ruby是松本行弘(Yukihiro Matsumoto)个人开发者的一种跨平台、面向对象的动态类型编程语言。 Ruby 0.4.2之前版本存在安全漏洞,该漏洞源于Util#escapeElement方法中的正则表达式拒绝服务。
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
ruby-lang CGI 0 ~ 0.3.5.1 -

II. Public POCs for CVE-2025-27220

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-27220

登录查看更多情报信息。

Vendor Advisories for CVE-2025-27220 (1)

Same Patch Batch · ruby-lang · 2025-03-03 · 3 CVEs total

CVE-2025-27219 5.8 MEDIUM Ruby 安全漏洞
CVE-2025-27221 3.2 LOW Ruby 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2025-27220

Anonymous User
2026-05-15 05:43:29

'

Anonymous User
2026-05-15 05:43:31

test'


Leave a comment