Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline...
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::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline that returns an empty string instead of undef at end of stream. getline ignores the failure status of the underlying read, so once the peer has closed the connection every call returns a defined empty string. STDIN is tied to the client, so a handler that reads with while (), as the default process_request does, never sees end of file and loops without blocking. The default handler re-arms its 30-second alarm on every pass, so the alarm never fires. A client that completes a TLS handshake and disconnects keeps one server process busy indefinitely, and repeating this takes every process.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org