Starman versions before 0.4019 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies. Starman decodes chu...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSstarman |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSstarman |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSstarman |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSstarman |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSstarman |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10starman |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSstarman |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Starman versions before 0.4019 for Perl allow CPU exhaustion via quadratic regex backtracking when parsing chunked request bodies. Starman decodes chunked request bodies before calling the application, matching each chunk-size line with s/^(([0-9a-fA-F]+).*\015\012)//. A line of hex digits followed by a bare LF and then CRLF never matches, because . does not match LF, and each failed attempt backtracks in time quadratic in the length of the hex run. Nothing limits the length of the line. A remote attacker can exhaust worker CPU by sending such requests to any route.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report metacpan.org