MEDIUM · CVSS 5.8 Published: 2025-03-04
CVE-2025-27219 — Technical Security Advisory & CVSS Profile
In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability. The method does not impose any limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.
Technical Metadata
| Identifier | CVE-2025-27219 |
|---|---|
| Base Severity / Score | MEDIUM (5.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| Weakness Classification | CWE-770 |
| 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-27219.yml
- https://hackerone.com/reports/2936778
- https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html
Related Security Advisories
CVE-2025-27208 MEDIUM 6.1
CVE-2025-27220 MEDIUM 4
CVE-2025-27206 MEDIUM 5.3
CVE-2025-27207 MEDIUM 6.5
CVE-2025-27231 MEDIUM 4.9
CVE-2025-27232 MEDIUM 4.9