Skip to content

CVE-2022-37797 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 ser...

HighCVSS 7.5 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

8 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/lighttpd(Debian 12) < 1.4.66-1 1.4.66-1 Fixed
debian/lighttpd(Debian 13) < 1.4.66-1 1.4.66-1 Fixed
debian/lighttpd(Debian 14) < 1.4.66-1 1.4.66-1 Fixed
ubuntu/lighttpd(Ubuntu 22.04) < 1.4.63-1ubuntu3.1+esm1 1.4.63-1ubuntu3.1+esm1 Fixed
ubuntu/lighttpd(Ubuntu Pro 20.04) < 1.4.55-1ubuntu1.20.04.2+esm1; = 1.4.53-4ubuntu2; = 1.4.54-2ubuntu1; = 1.4.55-1ubuntu1 +2 more 1.4.55-1ubuntu1.20.04.2+esm1 Fixed
ubuntu/lighttpd(Ubuntu Pro 22.04) < 1.4.63-1ubuntu3.1+esm1; = 1.4.59-1ubuntu2; = 1.4.59-1ubuntu3; = 1.4.63-1ubuntu1 +3 more 1.4.63-1ubuntu3.1+esm1 Fixed
debian linux = 10.0 No fix listed Versions listed
lighttpd = 1.4.65 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
lighttpd = 1.4.65 No fix listed
debian linux = 10.0 No fix listed
debian/lighttpd(Debian:12) < 1.4.66-1 1.4.66-1
debian/lighttpd(Debian:14) < 1.4.66-1 1.4.66-1
debian/lighttpd(Debian:13) < 1.4.66-1 1.4.66-1
ubuntu/lighttpd(Ubuntu:Pro:20.04) < 1.4.55-1ubuntu1.20.04.2+esm1 1.4.55-1ubuntu1.20.04.2+esm1
ubuntu/lighttpd(Ubuntu:Pro:20.04) = 1.4.53-4ubuntu2 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:20.04) = 1.4.54-2ubuntu1 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:20.04) = 1.4.55-1ubuntu1 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:20.04) = 1.4.55-1ubuntu1.20.04.1 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:20.04) = 1.4.55-1ubuntu1.20.04.2 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) < 1.4.63-1ubuntu3.1+esm1 1.4.63-1ubuntu3.1+esm1
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.59-1ubuntu2 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.59-1ubuntu3 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.63-1ubuntu1 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.63-1ubuntu2 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.63-1ubuntu3 No fix listed
ubuntu/lighttpd(Ubuntu:Pro:22.04) = 1.4.63-1ubuntu3.1 No fix listed
ubuntu/lighttpd(Ubuntu:22.04) < 1.4.63-1ubuntu3.1+esm1 1.4.63-1ubuntu3.1+esm1

References