Name | CVE-2022-22707 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5040-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lighttpd (PTS) | jessie, jessie (lts) | 1.4.35-4+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 1.4.45-1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 1.4.53-4+deb10u3 | fixed |
| bullseye (security), bullseye | 1.4.59-1+deb11u2 | fixed |
| bookworm | 1.4.69-1 | fixed |
| sid, trixie | 1.4.76-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - lighttpd <not-affected> (Vulnerable code not present; the issue was introduced in later versions)
https://redmine.lighttpd.net/issues/3134
https://github.com/lighttpd/lighttpd1.4/commit/8c62a890e23f5853b1a562b03fe3e1bccc6e7664
[jessie] - lighttpd <not-affected> (Vulnerable code introduced later)