Starmanに分割転送のリクエスト処理でCPUを使い果たされる脆弱性
Summary
Starman 0.4019より前のPerl向けサーバーでは、分割転送(chunked)のリクエストを細工されると、正規表現の処理が急激に重くなり、CPUを使い果たされるおそれがあります。遠隔から任意のルートに送るだけで悪用できるため、影響は大きいと見られます。修正版は0.4019で、更新して対応してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Starman 0.4019より前のPerl向けサーバーでは、分割転送(chunked)のリクエストを細工されると、正規表現の処理が急激に重くなり、CPUを使い果たされるおそれがあります。遠隔から任意のルートに送るだけで悪用できるため、影響は大きいと見られます。修正版は0.4019で、更新して対応してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANStarman |
< 0.4019→ 0.4019 |
0.4019 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115822 starman Fix available
- Ubuntu UBUNTU-CVE-2026-115822 starman No fixed version in this record
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web cpan.org