CVE-2022-2255
published 2022-08-25CVE-2022-2255: 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…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.69%
48.1th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | mod-wsgi | < mod-wsgi 4.9.0-1.1 (bookworm) | mod-wsgi 4.9.0-1.1 (bookworm) |
| modwsgi | mod_wsgi | < 4.9.3 | 4.9.3 |
| modwsgi | mod_wsgi | — | — |
| msrc | cbl2_mod_wsgi_4.9.3-2_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
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 b
vendor_msrc·2022-08-09·CVSS 7.5
CVE-2022-2255 [HIGH] CWE-345 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 b
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to addition
Ubuntu
mod-wsgi vulnerability
vendor_ubuntu·2022-08-04
CVE-2022-2255 mod-wsgi vulnerability
Title: mod-wsgi vulnerability
Summary: mod-wsgi could allow unintended access to network services.
It was discovered that mod-wsgi did not correctly remove the X-Client-IP
header when processing requests from untrusted proxies. A remote attacker
could use this issue to pass the header to WSGI applications, contrary
to expectations.
Instructions: After a standard system update you need to restart your web service to make
all the necessary changes.
Red Hat
mod_wsgi: Trusted Proxy Headers Removing Bypass
vendor_redhat·2022-07-18·CVSS 7.5
CVE-2022-2255 [HIGH] CWE-348 mod_wsgi: Trusted Proxy Headers Removing Bypass
mod_wsgi: Trusted Proxy Headers Removing Bypass
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.
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.
Package: mod_wsgi (Red Hat Enterprise Linux 6) - Not affected
Package: mod_wsgi (Red Hat Enterprise Linux 7) - Not affected
Package: mod_wsgi (Red Hat Enterprise Linux 8) - Will not fix
Package: python38:3.8/mod_wsgi (Red Hat Enterprise Linux 8) - Will
Debian
CVE-2022-2255: mod-wsgi - A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed fro...
vendor_debian·2022·CVSS 7.5
CVE-2022-2255 [HIGH] CVE-2022-2255: mod-wsgi - A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed fro...
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.
Scope: local
bookworm: resolved (fixed in 4.9.0-1.1)
bullseye: resolved (fixed in 4.7.1-3+deb11u1)
forky: resolved (fixed in 4.9.0-1.1)
sid: resolved (fixed in 4.9.0-1.1)
trixie: resolved (fixed in 4.9.0-1.1)
GHSA
Incorrect header handling in mod-wsgi
ghsa·2022-08-26
CVE-2022-2255 [HIGH] CWE-345 Incorrect header handling in mod-wsgi
Incorrect header handling in mod-wsgi
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.
OSV
Incorrect header handling in mod-wsgi
osv·2022-08-26
CVE-2022-2255 [HIGH] Incorrect header handling in mod-wsgi
Incorrect header handling in mod-wsgi
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.
OSV
CVE-2022-2255: A vulnerability was found in mod_wsgi
osv·2022-08-25·CVSS 7.5
CVE-2022-2255 [HIGH] CVE-2022-2255: A vulnerability was found in mod_wsgi
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082https://lists.debian.org/debian-lts-announce/2022/09/msg00021.htmlhttps://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.htmlhttps://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082https://lists.debian.org/debian-lts-announce/2022/09/msg00021.htmlhttps://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html
2022-08-25
Published