| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to kill the server process by ending a connection without a clean TLS session, via stale OpenSSL errors that close treats as fatal.
Read and write failures are classified with Net::SSLeay::get_error, which leaves the OpenSSL error queue as it is. When the connection is closed after the request, close dies if the queue holds any error, and the exception ends the process. A handshake that fails during post_accept dies the same way. Connections rejected by the allow and deny rules are closed through the same path.
A remote client that sends plaintext or a malformed handshake, or with OpenSSL 3 simply connects and closes, kills the PreFork worker handling it or stops a Single server. |
| Net::Server::Proto::SSLEAY versions through 2.018 for Perl free the TLS session twice when a client socket is closed a second time, as a PSGI streaming response does.
close frees the session handle stored on the client socket but leaves the stale pointer in place, so a second close shuts down and frees it again. Net::Server::PSGI hands the client socket to the application as the streaming writer. Closing the writer, as the PSGI specification asks, is the first close, and the server closes the client again after the request.
A remote client that requests a streaming endpoint of a PSGI server on proto ssleay corrupts the heap of the server process, which then crashes. A Single server stops. |
| Net::Server::HTTP versions through 2.018 for Perl allow process exhaustion via a forked child that returns to the accept loop when a trusted script dies in exec_trusted_perl.
exec_trusted_perl forks and the child loads the script with require. When the script dies before any header is sent, the child re-throws the error instead of exiting. The error unwinds into the request handler the child inherited from the worker, which sends a 500 response and returns to the accept loop. The child is now an extra worker that the server never forked, counts or signals, and it keeps running after the server is stopped.
Under the PreFork and Single server types, every request the script rejects with die adds one such process, past max_servers. Each extra worker inherits the failed require, so it fails later requests for that script and spawns another. |
| Net::Server::Thread versions through 2.018 for Perl terminate the whole server when a request timeout alarm fires in a handler thread.
Net::Server::HTTP and Net::Server::PSGI time each request with alarm() and a local ALRM handler. Under the Thread server type that code runs in a handler thread, but the alarm is process-wide and the main thread installs no ALRM handler, so SIGALRM ends the server process.
A remote client that connects and sends an incomplete request, or nothing, stops the server once the header timeout expires. |
| Net::Server versions through 2.018 for Perl allow file access outside the chroot jail via relative paths when post_bind calls chroot without chdir.
The working directory stays wherever the server was started, outside the new root. Relative paths, and paths climbing from it with .., resolve against the real filesystem.
A request handler that opens a request-influenced relative path can read or write files outside the jail with the run-as user's permissions, which the chroot option exists to prevent. |
| Net::Server::Proto::SSLEAY versions through 2.018 for Perl skip client certificate verification by silently ignoring the verify mode, CA and cipher list options.
SSL_verify_mode, SSL_ca_file, SSL_ca_path and SSL_cipher_list are accepted as configuration and stored on the socket, but bind_SSL applies only the key and certificate files to the TLS context. Nothing warns that the other options have no effect. Net::Server::Proto::SSL honours the same option names.
A server configured to require client certificates completes the handshake with any client and serves it without one. A restricted cipher list falls back to the OpenSSL default. |
| Net::Server::HTTP versions through 2.018 for Perl allow a single request to abort a worker with out-of-memory via the client's Content-Length used as a read size in exec_cgi.
exec_cgi forwards the request body to the CGI script with read() calls sized by the Content-Length header. Perl grows the buffer to that size before reading, so a request declaring a huge length aborts the worker with an out-of-memory error that no eval can catch.
The same loop never treats a 0 return from read() as end of input. When the client closes its side before sending the declared body, the remaining length stays unchanged and the loop spins at full CPU until the request times out.
Any server that dispatches requests to a CGI script, including an app target given as an executable, is affected. |
| Net::Server::PSGI versions through 2.018 for Perl allow one malformed request to kill a worker or stop a single-process server, as process_request re-throws the error after sending a 500 response.
When header parsing or the application dies, process_request sends the 500 response and then dies with the same error. Nothing above it catches the error without re-throwing it: a PreFork child exits, and the Single server type, whose accept loop has no eval, ends the server.
A remote attacker can kill one worker per request under PreFork, the default server type, for example with an unknown method such as FOO, and can stop a Single server outright. |
| Net::Server versions through 2.018 for Perl admit unlisted clients when an allow rule contains top-level alternation, as allow_deny anchors only the first and last branch.
Each allow and deny rule is matched against the peer address, and against the peer hostname under reverse_lookups, as /^$_$/. In a rule with an ungrouped |, the ^ binds to the first branch and the $ to the last, so the rule 10\.0\.0\.1|10\.0\.0\.2 matches any address that starts with 10.0.0.1 or ends with 10.0.0.2.
A remote client at an address the operator never listed, such as 10.0.0.15 or 110.0.0.2, passes the allow check. Under double reverse_lookups, a hostname rule of the same shape also admits a PTR name such as a.example.attacker.test. |
| 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. |
| Net::Server versions through 2.018 for Perl allow the run-as account to take ownership of any file via a symlink at the log or pid file path, which is opened and chowned as root at startup.
A server started as root with a user to drop to opens log_file, pid_file and, in Net::Server::HTTP, access_log_file before the drop, then chowns each path to the run-as user. Both the open and the chown follow a symlink. Root creates a missing target, or opens an existing one for the log files, and the chown hands it to the run-as account.
An account that can write to the directory holding these files, typically the run-as account itself, gains ownership of any file it links to at the next start as root. |
| Net::Server::Proto::SSL versions through 2.018 for Perl allow clients to hold server processes indefinitely via a TLS handshake that has no timeout and runs before allow/deny checks.
The handshake runs in post_accept, before the client address is read and the allow/deny rules are applied. The listening socket is created without a timeout, so the handshake blocks until the client speaks. A failed handshake dies, and nothing in the server loop catches it without re-throwing it.
A remote client, including one the allow/deny rules reject, can hold a server process with an idle connection, so enough idle connections stop the server from answering. A client that sends plaintext ends a PreFork child process, or stops a Single server. |
| Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects.
read_until reads one byte per iteration and leaves the loop only once it has the requested number of bytes or a match for the end pattern. Nothing checks the return value of read(), so once the peer has closed the connection every read returns 0 and the loop spins at full CPU. The TCP, UNIX and SSL protocol classes and Net::Server::INET share this loop. The SSLEAY protocol class is not affected.
Net::Server::HTTP reads every request header through read_until, so a client that connects and closes before ending its headers holds a worker at full CPU until timeout_header (15 seconds by default) fires. A stream of such short-lived connections keeps every worker busy. Other callers of read_until without their own timeout spin indefinitely. |
| Email::Address::XS versions before 1.06 for Perl allow injection of extra addresses when formatting a display name that contains "=?".
The formatter treats any display name or group name containing "=?" as an RFC 2047 encoded word and writes it without quoting or escaping. A name such as "=? <admin@example.com>, x" is emitted as address-list syntax.
An attacker who controls a display name passed to format_email_addresses or format can add recipients to the formatted address list. |
| The STM32 Ethernet driver built with CONFIG_ETH_STM32_HAL_API_V2 can stop receiving permanently after it drops one frame. eth_stm32_rx() in drivers/ethernet/eth_stm32_hal_v2.c drops a received frame when net_pkt_rx_alloc_with_buffer() or net_pkt_write() fails. It releases the frame's DMA buffers and returns NULL. rx_thread() reads that NULL as "ring empty" and blocks on rx_int_sem. The HAL only re-arms RX descriptors inside the next HAL_ETH_ReadData() call, because the dropped frame's buffers were still marked in use while HAL_ETH_ReadData() ran. So that frame's descriptors are left without DMA ownership.
The drop path is reachable over the network. A remote sender can exhaust the RX packet pool (CONFIG_NET_PKT_RX_COUNT defaults to 4) by flooding the device or by filling queues that hold received packets. If the drop happens while the rest of the small descriptor ring is already full and the burst's RX-complete interrupts have been merged, no DMA-owned descriptor is left to raise another interrupt. Nothing then calls HAL_ETH_ReadData() again. Hitting this window is timing-dependent.
When it happens, Ethernet reception stays dead after the attack stops and after the packet pool recovers, until the interface is restarted or the device reboots. There is no memory corruption or information disclosure. The fix gives rx_int_sem again after a dropped frame, so the RX thread re-runs HAL_ETH_ReadData() and the descriptors are re-armed. |
| The STM32WBA HCI driver (drivers/bluetooth/hci/hci_stm32wba.c) receives every HCI event and ACL/ISO packet from the ST link-layer library through BLECB_Indication(). Returning 1 from this callback, together with setting ll_state_busy, tells the controller that the host has no buffers. The controller then holds the packet and indicates it again later. Before this fix, receive_data() turned every failure from treat_evt(), treat_acl() and treat_iso() into -ENOMEM, and BLECB_Indication() reported it as busy. Malformed packets and packets too large for the host RX buffer were included.
A packet that can never be accepted is therefore re-indicated, rejected and held again indefinitely. Any remote device that can open a BLE connection can trigger this without pairing. The attacker negotiates the LE Data Length Extension and sends an ACL data PDU whose payload exceeds the host RX buffer tailroom. With default configurations, CONFIG_BT_BUF_ACL_RX_SIZE is typically 27 to 70 bytes and CONFIG_BT_HCI_ACL_FLOW_CONTROL is not enabled, while the controller delivers up to 251 bytes. This makes treat_acl() fail its tailroom check on every attempt.
The result is a permanent stall of the Bluetooth receive path for all connections, plus continuous reprocessing in the cooperative-priority controller workqueue, until the device is reset. Separately, the pre-fix treat_evt() asserted on event-buffer allocation failure, including for discardable advertising reports. With CONFIG_ASSERT=y, an advertising flood during scanning could therefore panic the system. The fix reports busy only for genuine buffer exhaustion (-ENOMEM) and drops all other bad packets. There is no memory corruption; the impact is limited to availability. |
| net_if_try_send_data() in subsys/net/ip/net_if.c reads net_pkt_family(pkt) a second time after calling net_ipv6_prepare_for_send(). When that function returns NET_CONTINUE it has already handed the packet off: IPv6 fragmentation (CONFIG_NET_IPV6_FRAGMENT) unreferences it before returning, and the neighbor discovery path queues it on the neighbor's pending queue, from where the RX thread may transmit and free it as soon as a Neighbor Advertisement arrives, or the NS error and timeout paths may free it.
If the freed net_pkt is reallocated to an IPv4 or ARP packet before the sending thread resumes (the slab free list is LIFO, so the next TX allocation receives it), the stale pointer now reports NET_AF_INET. net_ipv4_prepare_for_send() then runs on a packet the caller does not own, replaces the NET_CONTINUE verdict with NET_OK, and net_if_try_queue_tx() queues the foreign packet for transmission a second time. The packet is then transmitted and unreferenced twice, or the TX thread dereferences an already released buffer.
On a dual-stack device an adjacent attacker can open this window by answering the device's Neighbor Solicitations while sending IPv4 traffic that makes the stack allocate TX packets, such as ICMPv4 echo requests. The result is a double free or use-after-free of network packet and buffer memory in the kernel network stack, which typically crashes the device. Exploiting it requires winning a race, and ordinary dual-stack traffic can also trigger it. |
| Zephyr's IPv6, IPv4 and IEEE 802.15.4 (6LoWPAN) fragment reassembly implementations each keep a global reassembly cache that two threads modify with no synchronization. In the IPv6 code in subsys/net/ip/ipv6_fragment.c, the receive path runs net_ipv6_handle_fragment_hdr() and reassemble_packet(), and the reassembly_timeout() delayable-work handler runs on the system workqueue. When a datagram completes, reassemble_packet() calls only the non-synchronous k_work_cancel_delayable(), which does not stop a timeout handler that is already running. Separately, reassembly_get() treats a slot as free as soon as its timer is no longer pending, even while that slot's handler is still running. The IPv4 code in subsys/net/ip/ipv4_fragment.c has the same structure. In the 6LoWPAN code in subsys/net/l2/ieee802154/ieee802154_6lo_fragment.c, the reass_timeout() handler frees a cache entry's packet and releases the entry while fragment_add_to_cache() on the receive path may still be using it, and set_reass_cache() re-initializes the entry's timer on every allocation.
A remote, unauthenticated attacker who can send fragmented packets to a device built with CONFIG_NET_IPV6_FRAGMENT, CONFIG_NET_IPV4_FRAGMENT or CONFIG_NET_L2_IEEE802154_FRAGMENT (for 6LoWPAN, from within IEEE 802.15.4 radio range) can time fragments around the reassembly timeout. In the IPv6 code two interleavings are reachable. In the first, the timeout handler frees the stored fragments with reassembly_cancel() while the receive path is still merging them. In the second, the receive path reuses the slot and frees a stale first fragment while the handler is blocked inside net_icmpv6_send_error() still using that fragment as the source of the ICMPv6 Time Exceeded message. The race is widest with preemptive network threads, driver-context receive processing, or SMP. With the default cooperative threads on a single core, the attacker needs the handler to block while allocating a buffer.
Winning the race causes use-after-free, double free of net_pkt objects, or a NULL pointer dereference in the network receive or workqueue thread. The typical result is a crash, which is a remote denial of service. The fixes add a mutex to each implementation that serializes its cache between the receive path and the timeout handler (and, for IPv6 and IPv4, the slot iterator net_ipv6_frag_foreach() / net_ipv4_frag_foreach()), and make a handler whose entry was released or reused while it waited leave that entry alone. The IPv6 fix also detaches the first fragment before sending the ICMPv6 error, and the 6LoWPAN fix initializes the entry timers once instead of on every allocation. |
| A stored cross-site scripting (XSS) weakness in Kiteworks Core could allow an unauthenticated attacker to store crafted content that later executes arbitrary JavaScript in the authenticated session of an administrator who views the affected page. This could have permitted the attacker to gain full administrative control, including the creation of a new administrative account. |
| An authenticated Email Protection Gateway administrator holding only limited, delegated permissions could write files with attacker-controlled content to arbitrary locations accessible to the Email Protection Gateway service account. This exceeds the administrator's intended privileges and could be used to alter application files and configuration or to disrupt the availability of the service. |