Affected versions
Ubuntu16.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/ruby2.7
- Affected versions
- <2.7.0-5ubuntu1.18
- Fixed version
- 2.7.0-5ubuntu1.18
Ubuntu22.04:LTS/ruby3.0
- Affected versions
- <3.0.2-7ubuntu2.10
- Fixed version
- 3.0.2-7ubuntu2.10
Ubuntu24.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/ruby3.2
- Affected versions
- <3.2.3-1ubuntu0.24.04.5
- Fixed version
- 3.2.3-1ubuntu0.24.04.5
Ubuntu25.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/ruby3.3
- Affected versions
- <3.3.7-1ubuntu2
- Fixed version
- 3.3.7-1ubuntu2
Ubuntu26.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/ruby2.3
- Affected versions
- <2.3.1-2~ubuntu16.04.16+esm10
- Fixed version
- 2.3.1-2~ubuntu16.04.16+esm10
UbuntuPro:18.04:LTS/ruby2.5
- Affected versions
- <2.5.1-1ubuntu1.16+esm4
- Fixed version
- 2.5.1-1ubuntu1.16+esm4
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.
Links
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27219.yml
- https://hackerone.com/reports/2936778
- https://ubuntu.com/security/CVE-2025-27219
- https://ubuntu.com/security/notices/USN-7418-1
- https://ubuntu.com/security/notices/USN-7442-1
- https://www.cve.org/CVERecord?id=CVE-2025-27219

