{"id":"ALPINE-CVE-2022-22707","details":"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.","modified":"2026-08-27T22:18:01.696400833Z","published":"2022-01-06T06:15:07.243Z","upstream":["CVE-2022-22707"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-22707"}],"affected":[{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}},{"package":{"name":"lighttpd","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/lighttpd?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.46"},{"fixed":"1.4.64-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-22707.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}