CVE-2022-2255
HIGH 7.5CVSS 3.1Incorrect 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.
- Published
- 25 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-345CWE-348
- Also known as
- BIT-mod_wsgi-2022-2255GHSA-7527-8855-9cf8PYSEC-2022-254
- Sources
- NVDJSONOSV GHSA-7527-8855-9cf8JSONOSV PYSEC-2022-254JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | modwsgi | mod_wsgicpe:2.3:a:modwsgi:mod_wsgi:*:*:*:*:*:*:*:* |
< 4.9.3 | 4.9.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | mod-wsgi | < 4.9.3 | 4.9.3 |
References
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941 · Exploit, Third Party Advisory, WEB
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082 · Exploit, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/09/msg00021.html · Mailing List, Third Party Advisory, WEB
- https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2255 · ADVISORY
- https://github.com/GrahamDumpleton/mod_wsgi/commit/af3c0c2736bc0b0b01fa0f0aad3c904b7fa9c751 · WEB
- https://github.com/GrahamDumpleton/mod_wsgi · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/mod-wsgi/PYSEC-2022-254.yaml · WEB
- https://github.com/advisories/GHSA-7527-8855-9cf8 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 25 Aug 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Aug 2022)