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 limit on the length of the raw cookie value it processes. This oversight can lead to excessive resource consumption when parsing extremely large cookies.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*

History

05 Mar 2025, 14:05

Type Values Removed Values Added
Summary
  • (es) En la gema CGI anterior a la versión 0.4.2 para Ruby, el método CGI::Cookie.parse de la librería CGI contiene una posible vulnerabilidad de denegación de servicio (DoS). El método no impone ningún límite en la longitud del valor de cookie sin procesar que procesa. Este descuido puede provocar un consumo excesivo de recursos al analizar cookies extremadamente grandes.
References () https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml - () https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml - Third Party Advisory
References () https://hackerone.com/reports/2936778 - () https://hackerone.com/reports/2936778 - Permissions Required
First Time Ruby-lang cgi
Ruby-lang
CPE cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:ruby:*:*
cpe:2.3:a:ruby-lang:cgi:0.3.6:*:*:*:*:ruby:*:*

04 Mar 2025, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-04 00:15

Updated : 2025-03-05 14:05


NVD link : CVE-2025-27219

Mitre link : CVE-2025-27219

CVE.ORG link : CVE-2025-27219


JSON object : View

Products Affected

ruby-lang

  • cgi
CWE
CWE-770

Allocation of Resources Without Limits or Throttling