Name | CVE-2022-37797 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3133-1, DSA-5243-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lighttpd (PTS) | jessie, jessie (lts) | 1.4.35-4+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 1.4.45-1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 1.4.53-4+deb10u3 | fixed |
| bullseye (security), bullseye | 1.4.59-1+deb11u2 | fixed |
| bookworm | 1.4.69-1 | fixed |
| sid, trixie | 1.4.76-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://redmine.lighttpd.net/issues/3165
https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/971773f1fae600074b46ef64f3ca1f76c227985f (lighttpd-1.4.66)
[stretch] - lighttpd <not-affected> (mod_wstunnel introduced in 1.4.46)
[jessie] - lighttpd <not-affected> (mod_wstunnel introduced in 1.4.46)