CVE-2022-37797 Null dereference in n/a

High 7.5 Published Updated

An attacker can crash the lighttpd web server by sending an invalid websocket handshake, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-37797?

CVE-2022-37797 is a high-severity vulnerability in Debian Debian Linux, published on 12 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2022-37797?

It affects 2 products.

Linux distribution packages (5)
lighttpd SUSE:Package Hub 15 SP3All versions1.4.66-bp154.2.3.1
lighttpd SUSE:Package Hub 15 SP4All versions1.4.66-bp154.2.3.1
lighttpd openSUSE:Leap 15.3All versions1.4.66-bp154.2.3.1
lighttpd openSUSE:Leap 15.4All versions1.4.66-bp154.2.3.1
lighttpd openSUSE:TumbleweedAll versions1.4.66-1.1

Products include Debian Debian Linux, Lighttpd Lighttpd.

How do I fix CVE-2022-37797?

Apply the vendor's patch.

Is CVE-2022-37797 being exploited?

There is no known exploitation of CVE-2022-37797 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-37797, DLA-3133-1, GHSA-cm5p-p299-9f4g, UBUNTU-CVE-2022-37797, openSUSE-SU-2022:10132-1, openSUSE-SU-2024:12327-1.

Is CVE-2022-37797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free