7.5

CVE-2025-27220

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

Data is provided by the National Vulnerability Database (NVD)
Ruby-langCgi SwPlatformruby Version < 0.3.5.1
   Ruby-langRuby Version3.1.0
   Ruby-langRuby Version3.2.0
Ruby-langCgi SwPlatformruby Version >= 0.4.0 < 0.4.2
   Ruby-langRuby Version3.1.0
   Ruby-langRuby Version3.2.0
Ruby-langCgi Version0.3.6 SwPlatformruby
   Ruby-langRuby Version3.1.0
   Ruby-langRuby Version3.2.0
Zu dieser CVE wurde keine CISA KEV oder CERT.AT-Warnung gefunden.
EPSS Metriken
Type Source Score Percentile
EPSS FIRST.org 0.34% 0.563
CVSS Metriken
Source Base Score Exploit Score Impact Score Vector string
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cve@mitre.org 4 2.2 1.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
CWE-1333 Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.