NULL pointer dereference in Lighttpd
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 server. It could be used by an external attacker to cause denial of service condition.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.026, 85.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lighttpd — versions 1.4.65
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- redmine.lighttpd.net/issues/3165 (Exploit, Third Party Advisory, Issue Tracking)
- DSA-5243 (vendor-advisory, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20221003 [SECURITY] [DLA 3133-1] lighttpd security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202210-12 (vendor-advisory, Third Party Advisory)