Skip to content
OpenAdvisories
Unscored CVE-2022-37797 EUVD-2022-40406GHSA-cm5p-p299-9f4g

In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is receive…

Published Sep 12, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lighttpd 1.4.66-1 —
Debian 13 lighttpd 1.4.66-1 —
Debian 12 lighttpd 1.4.66-1 —
Debian 11 lighttpd 1.4.59-1+deb11u2 DSA-5243-1
Debian 10 lighttpd 1.4.53-4+deb10u3 DLA-3133-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS lighttpd No fix yet —
Ubuntu 20.04 LTS lighttpd No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 lighttpd 1.4.66-bp154.2.3.1 openSUSE-SU-2022:10132-1
SUSE Package Hub 15 SP3 lighttpd 1.4.66-bp154.2.3.1 openSUSE-SU-2022:10132-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lighttpd 1.4.66-1.1 openSUSE-SU-2024:12327-1
openSUSE Leap 15.4 lighttpd 1.4.66-bp154.2.3.1 openSUSE-SU-2022:10132-1
openSUSE Leap 15.3 lighttpd 1.4.66-bp154.2.3.1 openSUSE-SU-2022:10132-1

Advisories 8

References