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.
2025-03-04T00:15:31.550
2025-03-05T14:08:20.493
Analyzed
CVSSv3.1: 5.8 (MEDIUM)
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | ruby-lang | cgi | < 0.3.5.1 | Yes |
Application | ruby-lang | cgi | < 0.4.2 | Yes |
Application | ruby-lang | cgi | 0.3.6 | Yes |