CVE-2025-27220CWE-1333

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

Medium · published March 3, 2025

CVSS v3.1
4.0
EPSS
1%
Percentile
54.8
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
4.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00760 · 54.8th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-03-03T00:00Z
EPSS history
Timeline
  • 03 MAR 00:00Z
    In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method
    cvelistv5