Skip to content
OpenAdvisories
Unscored CVE-2022-22707 EUVD-2022-27850GHSA-j3jp-95wp-9q83

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 …

Published Jan 6, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lighttpd 1.4.64-1 —
Debian 13 lighttpd 1.4.64-1 —
Debian 12 lighttpd 1.4.64-1 —
Debian 11 lighttpd 1.4.59-1+deb11u1 DSA-5040-1
Debian 10 lighttpd 1.4.53-4+deb10u2 DSA-5040-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS lighttpd 1.4.63-1ubuntu3.1 USN-5903-1
Ubuntu 20.04 LTS lighttpd 1.4.55-1ubuntu1.20.04.2 USN-5903-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 lighttpd 1.4.64-bp153.2.3.1 openSUSE-SU-2022:0024-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lighttpd 1.4.64-1.1 openSUSE-SU-2024:11764-1
openSUSE Leap 15.3 lighttpd 1.4.64-bp153.2.3.1 openSUSE-SU-2022:0024-1
ReleasePackageFixed inAdvisory
Alpine v3.24 lighttpd 1.4.64-r0 —
Alpine v3.23 lighttpd 1.4.64-r0 —
Alpine v3.22 lighttpd 1.4.64-r0 —
Alpine v3.21 lighttpd 1.4.64-r0 —
Alpine v3.20 lighttpd 1.4.64-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 lighttpd 1.4.64-r0 —
Alpine v3.18 lighttpd 1.4.64-r0 —
Alpine v3.17 lighttpd 1.4.64-r0 —
Alpine v3.16 lighttpd 1.4.64-r0 —
Alpine v3.15 lighttpd 1.4.64-r0 —
Alpine v3.14 lighttpd 1.4.64-r0 —
Alpine v3.13 lighttpd 1.4.64-r0 —

Advisories 5

References