Net::Server::PSGI versions through 2.018 for Perl allow a client that stops reading a response to hold a server process indefinitely, as the timeout_i...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libnet-server-perl |
All versions→ Not listed |
Not listed |
| Debian:13libnet-server-perl |
All versions→ Not listed |
Not listed |
| Debian:14libnet-server-perl |
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.
Net::Server::PSGI versions through 2.018 for Perl allow a client that stops reading a response to hold a server process indefinitely, as the timeout_idle alarm cannot end a blocked write. process_request bounds each request with an alarm whose handler dies, and print_psgi_body writes the response to the blocking client socket. When the alarm interrupts a write that has already sent part of its buffer, perl's I/O layer returns the partial count without running the handler and blocks again on the rest, so the handler runs only once the write ends. A remote attacker who requests a response larger than the socket buffers and then stops reading holds one server process per connection. Enough such connections to reach max_servers stop the server from answering new requests.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org