Vulnerability · Published Jan 6, 2022 · Assigned by mitre
CVE-2022-22707
Medium 5.9
In plain English
A medium-severity security flaw in the lighttpd package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 9.7% (higher than 96% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | lighttpd | 1.4.64-r0 | ALPINE-CVE-2022-22707 |
| Alpine:v3.21 | lighttpd | 1.4.64-r0 | ALPINE-CVE-2022-22707 |
| Alpine:v3.22 | lighttpd | 1.4.64-r0 | ALPINE-CVE-2022-22707 |
| Alpine:v3.23 | lighttpd | 1.4.64-r0 | ALPINE-CVE-2022-22707 |
| Alpine:v3.24 | lighttpd | 1.4.64-r0 | ALPINE-CVE-2022-22707 |
| Debian:12 | lighttpd | 1.4.64-1 | DEBIAN-CVE-2022-22707 |
| Debian:13 | lighttpd | 1.4.64-1 | DEBIAN-CVE-2022-22707 |
| Debian:14 | lighttpd | 1.4.64-1 | DEBIAN-CVE-2022-22707 |
| Ubuntu:22.04:LTS | lighttpd | 1.4.63-1ubuntu3.1 | UBUNTU-CVE-2022-22707 |
| Ubuntu:22.04:LTS | lighttpd | 1.4.63-1ubuntu3.1 | USN-5903-1 |
Affected products (as reported)
References
- https://redmine.lighttpd.net/issues/3134 x_refsource_MISC
- DSA-5040 vendor-advisory, x_refsource_DEBIAN