CVE Database
/

CVE-2025-27219

Back to search

CVE-2025-27219

Published: Mar 3, 2025

Modified: Nov 3, 2025

PUBLISHED

CVSS v3.1

5.8

MEDIUM

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.

VendorProductVersions

ruby-lang

CGI

affected
0 - < 0.3.5.1
affected
0.3.6 - < 0.3.7
affected
0.4.0 - < 0.4.2

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L

Attack Vector

Network

Attack Complexity

Low

Privileges Required

None

User Interaction

None

Scope

Changed

Confidentiality

None

Integrity

None

Availability

Low

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now