Name | CVE-2022-2255 |
Description | A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy, allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3111-1, ELA-659-1 |
Debian Bugs | 1016476 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mod-wsgi (PTS) | jessie | 4.3.0-1 | fixed |
| stretch (lts), stretch | 4.5.11-1+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 4.6.5-1+deb10u1 | fixed |
| bullseye | 4.7.1-3+deb11u1 | fixed |
| bookworm | 4.9.4-1 | fixed |
| sid, trixie | 5.0.1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bugzilla.redhat.com/show_bug.cgi?id=2100563
https://github.com/GrahamDumpleton/mod_wsgi/commit/af3c0c2736bc0b0b01fa0f0aad3c904b7fa9c751 (4.9.3)
WSGITrustedProxies and vulnerable code introduced in https://github.com/GrahamDumpleton/mod_wsgi/commit/543fc33c23b4cb5e623d574b7efbf85c8dedb396 (4.4.10)
[jessie] - mod-wsgi <not-affected> (WSGITrustedProxies and vulnerable code introduced in 4.4.10)