Plackのサーバー機能に、1件のリクエストでサーバーを停止させられる脆弱性
Summary
HTTP::Server::PSGIの1.0056より前のバージョンには、Content-Lengthを極端に大きく指定した1件のリクエストで、サーバーがメモリ不足で停止してしまう脆弱性があります。影響を受けるのはPlackで、修正版は1.0056です。HTTP::Server::PSGIは単一プロセスで動くため、再起動するまでサービスが止まったままになります。Plackを1.0056以降へ更新してください。
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.
HTTP::Server::PSGIの1.0056より前のバージョンには、Content-Lengthを極端に大きく指定した1件のリクエストで、サーバーがメモリ不足で停止してしまう脆弱性があります。影響を受けるのはPlackで、修正版は1.0056です。HTTP::Server::PSGIは単一プロセスで動くため、再起動するまでサービスが止まったままになります。Plackを1.0056以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANPlack |
< 1.0056→ 1.0056 |
1.0056 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115825 libplack-perl Fix available
Original description The description as published by the source.
HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length.
The request body is read with sysread() calls sized by the remaining Content-Length. Perl grows the read buffer to the requested length before any data arrives, so the server tries to allocate as much memory as the client declares.
A remote attacker can send one request with a large Content-Length and a few body bytes, and perl exits with an out-of-memory error before the application is called. HTTP::Server::PSGI runs as a single process, so the server stays down until restarted.
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
- REDHAT Red Hat
- web github.com
- web openwall.com
- web cpan.org