MEDIUMRubyGems →
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
Affected packages
- cgi— before 0.3.5.1
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://nvd.nist.gov/vuln/detail/CVE-2025-27220
- https://github.com/ruby/cgi/pull/52
- https://github.com/ruby/cgi/pull/53
- https://github.com/ruby/cgi/pull/54
- https://hackerone.com/reports/2890322
- https://github.com/ruby/cgi
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
- https://www.cve.org/CVERecord?id=CVE-2025-27220
- https://www.ruby-lang.org/en/news/2025/02/26/security-advisories
Structured record: https://osv.dev/vulnerability/GHSA-mhwm-jh88-3gjf
Recommended response stack
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta