Skip to content
4.0 Medium

CVE-2025-27220 In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the…

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.

Affected products and versions

Product Affected versions Fixed in
CGI 0.4 0.4.0 → < 0.4.2 0.4.2
CGI 0.3 earliest → < 0.3.7 0.3.5.1

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of CGI →
Track this CVE