{"id":"CVE-2022-41556","aliases":["ALPINE-CVE-2022-41556","DEBIAN-CVE-2022-41556","DSA-5243-1","EUVD-2022-44748","GHSA-jm88-vr5q-23rj","MGASA-2022-0369","OESA-2022-1989","UBUNTU-CVE-2022-41556","USN-5903-1","openSUSE-SU-2022:10140-1","openSUSE-SU-2024:12382-1"],"status":"published","title":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of...","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0383,"percentile":0.90169,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401"],"published":"2022-09-28T00:00:00Z","modified":"2026-11-03T08:04:09Z","fixes":[{"ecosystem":"Alpine:v3.15","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"lighttpd","fixed_in":["1.4.67-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"lighttpd","fixed_in":["1.4.67-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lighttpd","fixed_in":["1.4.67-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lighttpd","fixed_in":["1.4.67-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"lighttpd","fixed_in":["1.4.63-1ubuntu3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"lighttpd","fixed_in":["1.4.67-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"lighttpd","fixed_in":["1.4.67-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"lighttpd","fixed_in":["1.4.67-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"lighttpd","fixed_in":["1.4.67-bp154.2.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"lighttpd","fixed_in":["1.4.67-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.15","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.56"},{"fixed":"1.4.67-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.59-1+deb11u2"}]}],"versions":["1.4.59-1","1.4.59-1+deb11u1"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.59-1.2.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-1.oe2203"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.31-3ubuntu3","1.4.33-1ubuntu1","1.4.33-1+nmu2ubuntu1","1.4.33-1+nmu2ubuntu2","1.4.33-1+nmu2ubuntu2.1","1.4.33-1+nmu2ubuntu2.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.63-1ubuntu3.1"}]}],"versions":["1.4.59-1ubuntu2","1.4.59-1ubuntu3","1.4.63-1ubuntu1","1.4.63-1ubuntu2","1.4.63-1ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.55-1ubuntu1.20.04.2"}]}],"versions":["1.4.53-4ubuntu2","1.4.54-2ubuntu1","1.4.55-1ubuntu1","1.4.55-1ubuntu1.20.04.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.63-1ubuntu3.1"}]}],"versions":["1.4.59-1ubuntu2","1.4.59-1ubuntu3","1.4.63-1ubuntu1","1.4.63-1ubuntu2","1.4.63-1ubuntu3"],"bundled":2},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-bp154.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"lighttpd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.67-2.1"}]}]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"lighttpd","product":"lighttpd"}],"references":[{"url":"https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/b18de6f9264f914f7bf493abd3b6059343548e50","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/lighttpd/lighttpd1.4/pull/115","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","fix","report"]},{"url":"https://github.com/lighttpd/lighttpd1.4/compare/lighttpd-1.4.66...lighttpd-1.4.67","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OVOSBSCMLGCHH2Z74H64ZWVDFJFQTBC2/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://security.gentoo.org/glsa/202210-12","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41556","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OVOSBSCMLGCHH2Z74H64ZWVDFJFQTBC2/"},{"url":"https://github.com/advisories/GHSA-jm88-vr5q-23rj"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-41556","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41556.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-41556","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0369.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30912","tags":["report"]},{"url":"https://www.debian.org/security/2022/dsa-5243","tags":["web"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1989","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37797","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-41556","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5903-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-41556","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-22707","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/T6C6UOQL3XPIYN6MAYXR6H6PCUA7Q4N4/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1203872","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-41556","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2024-08-03T12:42:46.654Z","updated_at":"2026-11-02T14:34:28.038197Z"}],"euvd":[{"id":"EUVD-2022-44748","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2024-08-03T12:42:46Z","updated_at":"2026-11-03T03:25:19.588915Z"}],"ghsa":[{"id":"GHSA-jm88-vr5q-23rj","title":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of...","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T18:52:05Z","modified":"2023-01-30T05:02:55Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:46:44.594683Z"}],"nvd":[{"id":"CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T18:17:03.62Z","modified":"2026-06-17T05:03:22.963Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"ALPINE-CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T18:17:03.62Z","modified":"2026-11-03T07:18:33.707410114Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:50:38.973973Z"},{"id":"DEBIAN-CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T18:17:03.62Z","modified":"2026-11-03T08:04:09.981820325Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T08:23:07.763774Z"},{"id":"OESA-2022-1989","title":"lighttpd security update","description":"Secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make it the perfect webserver-software for every server that is suffering load problems.\r\n\r\nSecurity Fix(es):\r\n\r\nIn lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.(CVE-2022-37797)\n\nA resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.(CVE-2022-41556)","status":"published","published":"2022-10-14T11:05:18Z","modified":"2026-08-18T01:17:20.086793187Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T18:17:00Z","modified":"2026-04-22T13:28:37.863996Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:55.502114Z"},{"id":"CVE-2022-41556","description":"A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connection-slot exhaustion) after a large amount of anomalous TCP behavior by clients. It is related to RDHUP mishandling in certain HTTP/1.1 chunked situations. Use of mod_fastcgi is, for example, affected. This is fixed in 1.4.67.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2026-10-28T02:30:24.663741922Z","updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"DSA-5243-1","title":"lighttpd - security update","status":"published","published":"2022-09-28T00:00:00Z","modified":"2026-03-09T02:11:32.134328Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2022-0369","title":"Updated lighttpd packages fix security vulnerability","description":"In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function\npointer if an invalid HTTP request (websocket handshake) is received. It\nleads to null pointer dereference which crashes the server. It could be\nused by an external attacker to cause denial of service condition.\n(CVE-2022-37797)\n\nA resource leak in mod_fastcgi and mod_scgi could lead to a denial of\nservice after a large number of bad HTTP requests. (CVE-2022-41556)\n","status":"published","published":"2022-10-13T20:05:19Z","modified":"2026-04-16T04:44:02.439165909Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"openSUSE-SU-2022:10140-1","title":"Security update for lighttpd","description":"This update for lighttpd fixes the following issues:\n\nlighttpd was updated to 1.4.67:\n\n* Update comment about TCP_INFO on OpenBSD\n* [mod_ajp13] fix crash with bad response headers (fixes #3170)\n* [core] handle RDHUP when collecting chunked body CVE-2022-41556 (boo#1203872)\n* [core] tweak streaming request body to backends\n* [core] handle ENOSPC with pwritev() (#3171)\n* [core] manually calculate off_t max (fixes #3171)\n* [autoconf] force large file support (#3171)\n* [multiple] quiet coverity warnings using casts\n* [meson] add license keyword to project declaration\n","status":"published","published":"2022-10-03T12:02:08Z","modified":"2026-02-04T02:27:56.844463Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:12382-1","title":"lighttpd-1.4.67-2.1 on GA media","description":"These are all security issues fixed in the lighttpd-1.4.67-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:53:13.025759Z","updated_at":"2026-11-02T16:58:35.751245Z"},{"id":"USN-5903-1","title":"lighttpd vulnerabilities","description":"It was discovered that lighttpd incorrectly handled certain inputs, which could\nresult in a stack buffer overflow. A remote attacker could possibly use this\nissue to cause a denial of service (DoS). (CVE-2022-22707, CVE-2022-41556)\n","status":"published","published":"2023-02-28T15:42:16Z","modified":"2026-04-27T16:47:17.912981661Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
