MEDIUM · CVSS 4 Published: 2025-03-04
CVE-2025-27220 — Technical Security Advisory & CVSS Profile
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Technical Metadata
| Identifier | CVE-2025-27220 |
|---|---|
| Base Severity / Score | MEDIUM (4 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L |
| Weakness Classification | CWE-1333 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml
- https://hackerone.com/reports/2890322
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
Related Security Advisories
CVE-2025-27219 MEDIUM 5.8
CVE-2025-27221 LOW 3.2
CVE-2025-27207 MEDIUM 6.5
CVE-2025-27208 MEDIUM 6.1
CVE-2025-27231 MEDIUM 4.9
CVE-2025-27232 MEDIUM 4.9
CVE-2025-27236 MEDIUM 6.5