Skip to content
CVE PROGRAM SOURCE RECORD5.8 Medium

CVE-2025-27219

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 lim

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ruby-lang CGI

Default version status: unaffected

  • 0 to < 0.3.5.1affected
  • 0.3.6 to < 0.3.7affected
  • 0.4.0 to < 0.4.2affected

References