Starmanに遠隔からサービス停止を招く脆弱性
Summary
Starman 0.4019より前のPerl向けWebサーバーには、リクエストボディの送信が止まったままだとワーカーが解放されない脆弱性があります。遠隔の攻撃者が数本の接続を保つだけで、既定のワーカー数(5)すべてを占有し、サーバーが応答できなくなるおそれがあります。修正版の0.4019では、ボディ読み取りに制限時間(既定300秒)が設けられているため、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向けWebサーバーには、リクエストボディの送信が止まったままだとワーカーが解放されない脆弱性があります。遠隔の攻撃者が数本の接続を保つだけで、既定のワーカー数(5)すべてを占有し、サーバーが応答できなくなるおそれがあります。修正版の0.4019では、ボディ読み取りに制限時間(既定300秒)が設けられているため、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-115817 starman Fix available
- Ubuntu UBUNTU-CVE-2026-115817 starman No fixed version in this record
Original description The description as published by the source.
Starman versions before 0.4019 for Perl allow a stalled request body to hold a worker indefinitely, as read_timeout covers only the headers.
Content-Length and chunked request bodies are read with blocking reads and no deadline. A client that sends complete headers and then stalls or trickles the body keeps the worker waiting until it disconnects.
A remote attacker can take every worker with a few such connections, five with the default worker count, so the server stops answering requests.
Version 0.4019 applies read_timeout to each wait for body data and adds a body_timeout limit, 300 seconds by default, on the total time to read a body.
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
- patch github.com
- REDHAT Red Hat
- web github.com
- web cpan.org