CVE-2025-27219
March 03, 2025
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 Packages
cgi (RUBY):
Affected version(s) >=0.1.0 <0.3.5.1Fix Suggestion:
Update to version 0.3.5.1cgi (RUBY):
Affected version(s) =0.3.6 <0.3.7Fix Suggestion:
Update to version 0.3.7cgi (RUBY):
Affected version(s) >=0.4.0 <0.4.2Fix Suggestion:
Update to version 0.4.2Related ResourcesĀ (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
LOW
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.78