CVE-2022-22707 In lighttpd 1.4.46 through 1.4.63, the mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow (4 bytes representing -1), as demonstrated by remote denial of s...
MediumCVSS 5.9
EPSS 9.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In lighttpd 1.4.46 through 1.4.63, the mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow (4 bytes representing -1), as demonstrated by remote denial of service (daemon crash) in a non-default configuration. The non-default configuration requires handling of the Forwarded header in a somewhat unusual manner. Also, a 32-bit system is much more likely to be affected than a 64-bit system.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/lighttpd(Ubuntu:22.04) | < 1.4.63-1ubuntu3.1 | 1.4.63-1ubuntu3.1 |
| lighttpd | >= 1.4.46, <= 1.4.63 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| alpine/lighttpd(Alpine:v3.13) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.14) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.15) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.16) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.17) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.18) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.19) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.20) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.21) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.22) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.23) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| alpine/lighttpd(Alpine:v3.24) | >= 1.4.46, < 1.4.64-r0 | 1.4.64-r0 |
| debian/lighttpd(Debian:12) | < 1.4.64-1 | 1.4.64-1 |
| debian/lighttpd(Debian:14) | < 1.4.64-1 | 1.4.64-1 |
| debian/lighttpd(Debian:13) | < 1.4.64-1 | 1.4.64-1 |
References
- Debian Security Tracker CVE-2022-22707 vendor-advisory
- redmine.lighttpd.net exploit vendor-advisory
- DSA-5040 third-party-advisory vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-5903-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory