mod_wsgi: Trusted Proxy Headers Removing Bypass
Published Aug 25, 2022
8.7
HIGHCVSS 4.0
EPSS 0.88%
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.
Affected products
- Vendor n/a Product Mod Wsgi Defaultn/a
- Version mod_wsgi versions prior to 4.9.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Mod Wsgi | n/a |
|
Configuration 2
- 10.0
No data.
Red Hat Enterprise Linux 8
python39:3.9-8100020250430153343.d47b87a4
Fixed · RHSA-2025:4791
Red Hat Enterprise Linux 6
mod_wsgi
Not affected
Red Hat Enterprise Linux 7
mod_wsgi
Not affected
Red Hat Enterprise Linux 8
mod_wsgi
Will not fix
Red Hat Enterprise Linux 8
python38:3.8/mod_wsgi
Will not fix
Red Hat Enterprise Linux 9
mod_wsgi
Will not fix
Red Hat Software Collections
python27-mod_wsgi
Out of support scope
Red Hat Software Collections
rh-python38-mod_wsgi
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python39:3.9-8100020250430153343.d47b87a4 | Fixed | RHSA-2025:4791 |
| Red Hat Enterprise Linux 6 | mod_wsgi | Not affected | n/a |
| Red Hat Enterprise Linux 7 | mod_wsgi | Not affected | n/a |
| Red Hat Enterprise Linux 8 | mod_wsgi | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | python38:3.8/mod_wsgi | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | mod_wsgi | Will not fix | n/a |
| Red Hat Software Collections | python27-mod_wsgi | Out of support scope | n/a |
| Red Hat Software Collections | rh-python38-mod_wsgi | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.88% (0.00880) | 57.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.67% (0.00671) | 46.98th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.17% (0.00174) | 36.40th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.14% (0.00143) | 51.67th | v3 (v2023.03.01) |
| Mar 17, 2024 | 0.11% (0.00111) | 43.20th | v3 (v2023.03.01) |
| Feb 5, 2024 | 0.10% (0.00098) | 40.46th | v3 (v2023.03.01) |
| Sep 27, 2023 | 0.09% (0.00089) | 37.07th | v3 (v2023.03.01) |
| Sep 1, 2023 | 0.11% (0.00112) | 43.83th | v3 (v2023.03.01) |
| Jul 26, 2023 | 0.06% (0.00058) | 22.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00052) | 18.37th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 16, 2022 | 1.02% (0.01018) | 38.94th | v2 (v2022.01.01) |
| Sep 1, 2022 | 0.95% (0.00954) | 34.48th | v2 (v2022.01.01) |
| Aug 26, 2022 | 0.89% (0.00890) | 28.46th | v2 (v2022.01.01) |
References (11)
- https://access.redhat.com/security/cve/CVE-2022-2255 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2100563 Issue Tracking
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941 x_refsource_MISCExploitThird Party Advisory
- https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082 x_refsource_MISCExploitThird Party Advisory
- https://github.com/GrahamDumpleton/mod_wsgi/commit/af3c0c2736bc0b0b01fa0f0aad3c904b7fa9c751
- https://github.com/advisories/GHSA-7527-8855-9cf8 Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/mod-wsgi/PYSEC-2022-254.yaml
- https://lists.debian.org/debian-lts-announce/2022/09/msg00021.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html x_refsource_MISCRelease NotesThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-2255
- https://www.cve.org/CVERecord?id=CVE-2022-2255
Change history (0)
No recorded changes yet.