CVE-2025-27219

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/03/2025
Last modified:
05/03/2025

Description

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.

Vulnerable products and versions

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