Skip to content

Conversation

alexandrule
Copy link

@alexandrule alexandrule commented Apr 23, 2025

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.

https://nvd.nist.gov/vuln/detail/CVE-2025-27219

@alexandrule alexandrule changed the title Bump cgi from 0.3.6 to 0.4.2 Address CVE-2025-27219 Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant