CVEvulnerability
CVE-2025-27220
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-03-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.0 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
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 configurations
• ruby-lang cgi (< 0.3.5.1)
• ruby-lang cgi (>= 0.4.0 < 0.4.2)
• ruby-lang cgi 0.3.6
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml Third Party Advisory
- https://hackerone.com/reports/2890322 Permissions Required
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html lists.debian.org