CVE-2022-2255Modwsgi Mod Wsgi
High 7.5 No auth needed
Follow: this CVE · Modwsgi · Modwsgi Mod Wsgi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Aug 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mod Wsgi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mod-wsgi |
< 4.9.3 |
4.9.3 |
pip install "mod-wsgi>=4.9.3" |
| PyPI | mod-wsgi |
< 4.9.3 |
4.9.3 |
pip install "mod-wsgi>=4.9.3" |
Per OSV / GitHub Advisories (GHSA-7527-8855-9cf8, PYSEC-2022-254). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| modwsgi | mod_wsgi | < 4.9.3 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- modwsgi.readthedocs.io Release Notes Third Party Advisory