ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:Pro:14.04:LTSjruby
All versions, no fix listed
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm10 (fixed in 2.3.1-2~ubuntu16.04.16+esm10)
Ubuntu:16.04:LTSjruby
All versions, no fix listed
Ubuntu:Pro:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.16+esm4 (fixed in 2.5.1-1ubuntu1.16+esm4)
Ubuntu:18.04:LTSjruby
All versions, no fix listed
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.18 (fixed in 2.7.0-5ubuntu1.18)
Ubuntu:20.04:LTSjruby
All versions, no fix listed
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2.10 (fixed in 3.0.2-7ubuntu2.10)
Ubuntu:24.04:LTSjruby
All versions, no fix listed
Ubuntu:24.04:LTSruby3.2
All versions before 3.2.3-1ubuntu0.24.04.5 (fixed in 3.2.3-1ubuntu0.24.04.5)
Ubuntu:25.10jruby
All versions, no fix listed
Ubuntu:25.10ruby3.3
All versions before 3.3.7-1ubuntu2 (fixed in 3.3.7-1ubuntu2)
Ubuntu:26.10jruby
All versions, no fix listed
Ubuntu:26.04:LTSjruby
All versions, no fix listed

References