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 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.
References
Link Resource
https://redmine.lighttpd.net/issues/3134 Exploit Vendor Advisory
https://www.debian.org/security/2022/dsa-5040 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

13 Jan 2022, 20:52

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 5.9
First Time Debian debian Linux
Lighttpd
Debian
Lighttpd lighttpd
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*
CWE CWE-787
References (DEBIAN) https://www.debian.org/security/2022/dsa-5040 - (DEBIAN) https://www.debian.org/security/2022/dsa-5040 - Third Party Advisory
References (MISC) https://redmine.lighttpd.net/issues/3134 - (MISC) https://redmine.lighttpd.net/issues/3134 - Exploit, Vendor Advisory

12 Jan 2022, 11:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5040 -

10 Jan 2022, 16:15

Type Values Removed Values Added
Summary 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), as demonstrated by remote denial of service (daemon crash). 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.

06 Jan 2022, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-06 06:15

Updated : 2023-12-10 14:09


NVD link : CVE-2022-22707

Mitre link : CVE-2022-22707

CVE.ORG link : CVE-2022-22707


JSON object : View

Products Affected

lighttpd

  • lighttpd

debian

  • debian_linux
CWE
CWE-787

Out-of-bounds Write