CVE-2025-27220
1 advisory.
RubyGems/cgi CVE-2025-27220: medium 4, EPSS 0.76%
CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement
Action: Upgrade cgi to 0.3.5.1 or later.
bundle update cgiAffected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.3.5.1 | - |
| 0.3.6 | 0.3.7 | - |
| 0.4.0 | 0.4.2 | - |
Fixed versions
| 0.3.5.1 | 0.3.7 | 0.4.2 |
Sources
- osv: GHSA-mhwm-jh88-3gjf
- 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
CVE-2025-27220 · published · modified · JSON