ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2025-27219

Details

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

EcosystemPackageAffected versions
Debian:12ruby3.1
All versions, no fix listed
Debian:13ruby3.3
All versions before 3.3.7-2 (fixed in 3.3.7-2)
Debian:14ruby3.3
All versions before 3.3.7-2 (fixed in 3.3.7-2)

References