CVE-2025-27220Published Mar 3, 2025 · Mar 3Updated Oct 28
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
ruby-lang CGI
Medium4.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cgi RubyGems |
|
|
Original 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.