—
PYSEC-2022-254
Quick fix
PYSEC-2022-254 — mod-wsgi: upgrade to the fixed version with the command below.
pip install --upgrade 'mod-wsgi>=4.9.3'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082[WEB]
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941[WEB]
- https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html[WEB]
- https://github.com/advisories/GHSA-7527-8855-9cf8[ADVISORY]