CVE-2022-22707Lighttpd
Medium 5.9 No auth needed
Follow: this CVE · Lighttpd · Lighttpd We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Jan 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lighttpd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lighttpd | lighttpd | ≥ 1.4.46 ≤ 1.4.63 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- redmine.lighttpd.net Exploit Vendor Advisory
- www.debian.org Third Party Advisory