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 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
lighttpd (PTS) | bullseye (security), bullseye | 1.4.59-1+deb11u2 | fixed |
bookworm | 1.4.69-1 | fixed | |
sid, trixie | 1.4.77-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
lighttpd | source | stretch | (not affected) | |||
lighttpd | source | buster | 1.4.53-4+deb10u2 | DSA-5040-1 | ||
lighttpd | source | bullseye | 1.4.59-1+deb11u1 | DSA-5040-1 | ||
lighttpd | source | (unstable) | 1.4.64-1 |
[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