cve.bz

CVE-2022-22707 Out-of-bounds Write

5.9 mediumExploit referenceEPSS 9.7%

Medium (5.9). EPSS 9.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
9.7% (unchanged from 9.7% a week ago; 8.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-22707 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-22707?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-22707?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-22707 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
lighttpd:lighttpdfrom 1.4.46 through 1.4.63
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10lighttpd1.4.53-4+deb10u2DSA-5040-1
Debian11lighttpd1.4.59-1+deb11u1DSA-5040-1
Debian12, 13, 14lighttpd1.4.64-1DEBIAN-CVE-2022-22707
Ubuntu20.04:LTSlighttpd1.4.55-1ubuntu1.20.04.2UBUNTU-CVE-2022-22707 USN-5903-1
Ubuntu22.04:LTSlighttpd1.4.63-1ubuntu3.1UBUNTU-CVE-2022-22707 USN-5903-1
SUSEPackage Hub 15 SP3lighttpd1.4.64-bp153.2.3.1openSUSE-SU-2022:0024-1
openSUSELeap 15.3lighttpd1.4.64-bp153.2.3.1openSUSE-SU-2022:0024-1
openSUSETumbleweedlighttpd1.4.64-1.1openSUSE-SU-2024:11764-1
Alpinev3.13, v3.14, v3.15 and 9 morelighttpd1.4.64-r0ALPINE-CVE-2022-22707

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON