CGI versions before 5.00 for Perl (20 CVEs)
20 CVEs in CGI and CGI::Cookie for Perl before 5.00 allow denial of service, CPU exhaustion and header spoofing.
DoS in Perl CGI::Cookie before 5.00 via expires regex
CGI::Cookie's parse reads the Cookie header's expires value unescaped into a regex that removes it from the string. A client can trigger a crash or catastrophic backtracking by sending a malicious expires value in the Cookie header. Versions 4.67 to before 5.00 are affected. Affected users include anyone running vulnerable CGI applications.
What to do: Upgrade CGI::Cookie to 5.00. No workaround listed.
| Product | Affected | Fixed in |
|---|---|---|
| Perl CGI::Cookie | 4.67 before 5.00 | 5.00 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
CGI::Cookie versions from 4.67 before 5.00 for Perl allow denial of service via the client cookie expires value used as a regex in parse. CGI's cookie method reads the Cookie request header through parse, which interpolates the header's expires value unescaped into the substitution pattern that removes it from the cookie string. A client can make the request die with an invalid pattern, or tie up the process with one that backtracks catastrophically.
20 CVEs in CGI and CGI::Cookie for Perl before 5.00 allow denial of service, CPU exhaustion and header spoofing.
Today 498 readers · 563 views · 127 reads · all time 173K views