Ad

CVE-2025-27219

HIGH CVSS 3.1: 7.5 EPSS 0.35%
Updated Nov 03, 2025
Ruby-Lang
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 0.4.0 — 0.4.2
Fixed In 0.3.5.1
Type CWE-770 (Allocation Without Limits)
Vendor Ruby-Lang
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Ruby-Lang Cgi
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
0.3.5.1
Ruby-Lang Cgi
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
0.4.0 0.4.2
Ruby-Lang Cgi
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*