ADVISORIES

Alpine Security Database

ALPINE-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
Alpine:v3.19ruby
All versions before 3.2.8-r0 (fixed in 3.2.8-r0)
Alpine:v3.20ruby
All versions before 3.3.8-r0 (fixed in 3.3.8-r0)
Alpine:v3.21ruby
All versions before 3.3.8-r0 (fixed in 3.3.8-r0)
Alpine:v3.19ruby-net-imap
All versions before 0.3.9-r0 (fixed in 0.3.9-r0)
Alpine:v3.20ruby-net-imap
All versions before 0.4.19-r0 (fixed in 0.4.19-r0)
Alpine:v3.21ruby-net-imap
All versions before 0.4.19-r0 (fixed in 0.4.19-r0)

References