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 ser...
HighCVSS 7.5
EPSS 2.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/lighttpd(Debian 12) | < 1.4.66-1 | 1.4.66-1 | Fixed |
| debian/lighttpd(Debian 13) | < 1.4.66-1 | 1.4.66-1 | Fixed |
| debian/lighttpd(Debian 14) | < 1.4.66-1 | 1.4.66-1 | Fixed |
| ubuntu/lighttpd(Ubuntu 22.04) | < 1.4.63-1ubuntu3.1+esm1 | 1.4.63-1ubuntu3.1+esm1 | Fixed |
| ubuntu/lighttpd(Ubuntu Pro 20.04) | < 1.4.55-1ubuntu1.20.04.2+esm1; = 1.4.53-4ubuntu2; = 1.4.54-2ubuntu1; = 1.4.55-1ubuntu1 +2 more | 1.4.55-1ubuntu1.20.04.2+esm1 | Fixed |
| ubuntu/lighttpd(Ubuntu Pro 22.04) | < 1.4.63-1ubuntu3.1+esm1; = 1.4.59-1ubuntu2; = 1.4.59-1ubuntu3; = 1.4.63-1ubuntu1 +3 more | 1.4.63-1ubuntu3.1+esm1 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| lighttpd | = 1.4.65 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lighttpd | = 1.4.65 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian/lighttpd(Debian:12) | < 1.4.66-1 | 1.4.66-1 |
| debian/lighttpd(Debian:14) | < 1.4.66-1 | 1.4.66-1 |
| debian/lighttpd(Debian:13) | < 1.4.66-1 | 1.4.66-1 |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | < 1.4.55-1ubuntu1.20.04.2+esm1 | 1.4.55-1ubuntu1.20.04.2+esm1 |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | = 1.4.53-4ubuntu2 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | = 1.4.54-2ubuntu1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | = 1.4.55-1ubuntu1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | = 1.4.55-1ubuntu1.20.04.1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:20.04) | = 1.4.55-1ubuntu1.20.04.2 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | < 1.4.63-1ubuntu3.1+esm1 | 1.4.63-1ubuntu3.1+esm1 |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.59-1ubuntu2 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.59-1ubuntu3 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.63-1ubuntu1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.63-1ubuntu2 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.63-1ubuntu3 | No fix listed |
| ubuntu/lighttpd(Ubuntu:Pro:22.04) | = 1.4.63-1ubuntu3.1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:22.04) | < 1.4.63-1ubuntu3.1+esm1 | 1.4.63-1ubuntu3.1+esm1 |
References
- Debian Security Tracker CVE-2022-37797 vendor-advisory
- redmine.lighttpd.net exploit issue-tracking third-party-advisory
- DSA-5243 mailing-list third-party-advisory vendor-advisory
- [debian-lts-announce] 20221003 [SECURITY] [DLA 3133-1] lighttpd security update mailing-list third-party-advisory
- GLSA-202210-12 third-party-advisory vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- git.lighttpd.net issue-tracking
- USN-9112-1 vendor-advisory