Out-of-bounds read in lighttpd - CVE-2022-22707
Published: January 12, 2022 / Updated: January 20, 2022
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary condition in the mod_extforward_Forwarded function of the mod_extforward plugin. A remote attacker can send a specially crafted request to the web server, trigger an out-of-bounds read error and perform a denial of service attack.
Successful exploitation of the vulnerability requires a non-default configuration for handling of the Forwarded header.
Affected software
lighttpd (Debian package)
lighttpd
lighttpd-mod_authn_mysql
lighttpd-fastcgi
lighttpd-mod_authn_gssapi
lighttpd-mod_authn_pam
lighttpd-mod_mysql_vhost
lighttpd-debuginfo
lighttpd-debugsource
lighttpd-filesystem
lighttpd (Ubuntu package)
openEuler
Ubuntu
How to mitigate CVE-2022-22707
lighttpd - update to 1.4.53-2
lighttpd-mod_authn_mysql - update to 1.4.53-2
lighttpd-fastcgi - update to 1.4.53-2
lighttpd-mod_authn_gssapi - update to 1.4.53-2
lighttpd-mod_authn_pam - update to 1.4.53-2
lighttpd-mod_mysql_vhost - update to 1.4.53-2
lighttpd-debuginfo - update to 1.4.53-2
lighttpd-debugsource - update to 1.4.53-2
lighttpd-filesystem - update to 1.4.53-2
lighttpd (Ubuntu package) - addressed in versions 1.4.55-1ubuntu1.20.04.2, 1.4.63-1ubuntu3.1, 1.4.65-2ubuntu1.1