Skip to content
Fencer Vulns
medium 5.9

CVE-2022-22707 json

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…

published 2022-01-06 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-27850

cvss
5.9
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.7%
EPSS 9.7% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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 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.

Patch / fix

  • lighttpd Debian 14, Debian 13, Debian 12 1.4.64-1

debian advisories DEBIAN-CVE-2022-22707

  • lighttpd Ubuntu 20.04 LTS 1.4.55-1ubuntu1.20.04.2
  • lighttpd Ubuntu 22.04 LTS 1.4.63-1ubuntu3.1

ubuntu advisories UBUNTU-CVE-2022-22707

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • lighttpd openSUSE Tumbleweed 1.4.64-1.1
  • lighttpd Package Hub 15 SP3, openSUSE Leap 15.3 1.4.64-bp153.2.3.1

opensuse advisories openSUSE-SU-2024:11764-1openSUSE-SU-2022:0024-1

  • lighttpd Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 1.4.64-r0

alpine advisories ALPINE-CVE-2022-22707

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-22707 updated cvss 5.9

lighttpd: mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

9.66% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • redmine.lighttpd.net https://redmine.lighttpd.net/issues/3134 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.