Unrated
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-2255
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:12 UTC · Revision 1
Source evidence
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
Complete source record
{
"id": "d3249e1426ef38634885d544307fbd15dad02a158cc2ecb47da4e14bef3772a5",
"url": "https://osv.dev/vulnerability/CVE-2022-2255",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-2255",
"summary": "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.",
"evidence": "osv:CVE-2022-2255",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2022-2255",
"aliases": [
"BIT-mod_wsgi-2022-2255",
"CVE-2022-2255",
"GHSA-7527-8855-9cf8",
"PYSEC-2022-254"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/grahamdumpleton/mod_wsgi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a376ffc899a160e8ee91160e2da76edcfa260b31"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.9.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "VersionTextExtraction"
},
{
"cpe": "cpe:2.3:a:modwsgi:mod_wsgi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.9.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.9.2",
"4.9.1",
"4.9.0",
"4.8.0",
"4.6.4",
"4.6.3",
"4.6.2",
"4.6.1",
"4.6.0",
"4.5.24",
"4.5.23",
"4.5.22",
"4.5.21",
"4.5.20",
"4.5.19",
"4.5.18",
"4.5.17",
"4.5.16",
"4.5.15",
"4.5.14",
"4.5.13",
"4.5.12",
"4.5.11",
"4.5.10",
"4.5.9",
"4.5.8",
"4.5.7",
"4.5.6",
"4.5.5",
"4.5.4",
"4.5.3",
"4.5.2",
"4.5.1",
"4.5.0",
"4.4.23",
"4.4.22",
"4.4.21",
"4.4.20",
"4.4.19",
"4.4.18",
"4.4.17",
"4.4.16",
"4.4.15",
"4.4.14",
"4.4.13",
"4.4.12",
"4.4.11",
"4.4.10",
"4.4.9",
"4.4.8",
"4.4.7",
"4.4.6",
"4.4.5",
"4.4.4",
"4.4.3",
"4.4.2",
"4.4.1",
"4.4.0",
"4.3.2",
"4.3.1",
"4.3.0",
"4.2.8",
"4.2.6",
"4.2.5",
"4.2.4",
"4.2.3",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"3.5",
"3.4",
"3.4c1",
"3.3",
"3.2",
"3.1",
"3.0",
"3.0c6",
"3.0c5",
"3.0c4",
"3.0c3",
"3.0c2",
"3.0c1",
"2.0",
"2.0c5",
"2.0c4",
"2.0c3",
"2.0c2",
"2.0c1",
"1.0",
"1.0c4",
"1.0c3",
"1.0c2",
"1.0c1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2255.json"
}
}
],
"modified": "2026-10-28T02:30:39.907671585Z",
"provider": "osv",
"references": [
"https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941",
"https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082",
"https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2255.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-2255",
"https://lists.debian.org/debian-lts-announce/2022/09/msg00021.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-348"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2255.json"
}
},
"related_cves": [
{
"value": "CVE-2022-2255",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 507495,
"published_at": "2022-08-25T17:26:19+00:00"
}