In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.
https://www.debian.org/security/2022/dsa-5243
https://security.gentoo.org/glsa/202210-12
https://redmine.lighttpd.net/issues/3165
https://lists.debian.org/debian-lts-announce/2022/10/msg00002.html