CVE-2022-37797
CVE-2022-37797 is a high-severity vulnerability in Lighttpd with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-476.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 2% (78th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-476
- Affected product: Lighttpd
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2022-37797?
- CVE-2022-37797 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-37797 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (78th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-37797?
- CVE-2022-37797 primarily affects Lighttpd. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-37797?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-37797 published?
- CVE-2022-37797 was published on 2022-09-12 and last updated on 2026-06-17.
References
- https://lists.debian.org/debian-lts-announce/2022/10/msg00002.html
- https://redmine.lighttpd.net/issues/3165
- https://security.gentoo.org/glsa/202210-12
- https://www.debian.org/security/2022/dsa-5243
Affected products (2)
- cpe:2.3:a:lighttpd:lighttpd:1.4.65:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
More vulnerabilities in Lighttpd
- CVE-2019-11072 — Critical (CVSS 9.8): lighttpd before 1.4.54 has a signed integer overflow, which might allow remote attackers to cause a denial of service…
- CVE-2014-2323 — Critical (CVSS 9.8): SQL injection vulnerability in mod_mysql_vhost.c in lighttpd before 1.4.35 allows remote attackers to execute arbitrary…
- CVE-2025-12642 — Critical (CVSS 9.1): lighttpd1.4.80 incorrectly merged trailer fields into headers after http request parsing. This behavior can be…
- CVE-2007-3949 — High (CVSS 8.3): mod_access.c in lighttpd 1.4.15 ignores trailing / (slash) characters in the URL, which allows remote attackers to…
- CVE-2007-1870 — High (CVSS 7.8): lighttpd before 1.4.14 allows attackers to cause a denial of service (crash) via a request to a file whose mtime is 0,…
- CVE-2013-4559 — High (CVSS 7.6): lighttpd before 1.4.33 does not check the return value of the (1) setuid, (2) setgid, or (3) setgroups functions, which…
Other CWE-476 (NULL Pointer Dereference) vulnerabilities
- CVE-2022-36648 — Critical (CVSS 10.0): The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier,…
- CVE-2020-14500 — Critical (CVSS 10.0): Secomea GateManager all versions prior to 9.2c, An attacker can send a negative value and overwrite arbitrary data.
- CVE-2010-2495 — Critical (CVSS 10.0): The pppol2tp_xmit function in drivers/net/pppol2tp.c in the L2TP implementation in the Linux kernel before 2.6.34 does…
- CVE-2026-46195 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: client: validate dacloffset before building…
- CVE-2026-31657 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: batman-adv: hold claim backbone gateways by…
- CVE-2026-31436 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: fix possible wrong descriptor…
Browse all CWE-476 (NULL Pointer Dereference) vulnerabilities →