Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creatio...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libnet-server-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibnet-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::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when thread creation fails. The accept loop waits while threads->list() exceeds max_servers, but each handler thread is detached as soon as it is created, and threads->list() does not count detached threads. The count stays near zero, so the limit never applies. When thread creation fails, the loop calls detach on an undefined value and dies. A remote client that holds connections open makes the server clone a Perl interpreter for each one until memory or thread limits are reached, and the server process then exits.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org