CVE-2022-37797
No exploitation reported by the sources we read.
- Published2022-09-12
- WeaknessCWE-476
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-09-1215:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.4 | = 1.4.65 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- lighttpdUbuntu:22.04:LTSall versions · no fixed version listed
- lighttpdUbuntu:20.04:LTSall versions · no fixed version listed
- lighttpdSUSE:Package Hub 15 SP4all versions · fixed in 1.4.66-bp154.2.3.1
- lighttpdSUSE:Package Hub 15 SP3all versions · fixed in 1.4.66-bp154.2.3.1
- lighttpdopenSUSE:Tumbleweedall versions · fixed in 1.4.66-1.1
- lighttpdopenSUSE:Leap 15.4all versions · fixed in 1.4.66-bp154.2.3.1
- lighttpdopenSUSE:Leap 15.3all versions · fixed in 1.4.66-bp154.2.3.1
- lighttpdopenEuler:22.03-LTSall versions · fixed in 1.4.67-1.oe2203
8 more package ranges on OSV.dev
Vendor advisories
- CVE-2022-37797 Red Hat Product Security
www-servers/lighttpd: DoS via uninitialized function pointer
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
Fix
- Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
- Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.5read 2026-10-23
- NVDweakness (CWE)CWE-476read 2026-10-23
- FIRST EPSSEPSS score2.6 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2022-40406same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-cm5p-p299-9f4gsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-3133-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5243-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0369advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-1989advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2022:10132-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12327-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-09-12
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-cm5p-p299-9f4g
Frequently asked questions
What is CVE-2022-37797?
Is CVE-2022-37797 actively exploited?
What is the CVSS score for CVE-2022-37797?
Running www-servers/lighttpd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cm5p-p299-9f4g
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)