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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DLA-3133-1, DSA-5243-1 |
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 | 1.4.53-4+deb10u2 | vulnerable | |
buster (security) | 1.4.53-4+deb10u3 | fixed | |
bullseye (security), bullseye | 1.4.59-1+deb11u2 | fixed | |
sid, bookworm | 1.4.69-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
lighttpd | source | jessie | (not affected) | |||
lighttpd | source | stretch | (not affected) | |||
lighttpd | source | buster | 1.4.53-4+deb10u3 | DLA-3133-1 | ||
lighttpd | source | bullseye | 1.4.59-1+deb11u2 | DSA-5243-1 | ||
lighttpd | source | (unstable) | 1.4.66-1 |
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)