CVEfocus › CVE database › CVE-2022-2255

CVE-2022-2255

EPSS 1.0% (higher than 63% of CVEs)Published 2022-08-25Updated 2024-08-03Assigner: redhat

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.

CWE-348

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

124Fixed
2Fix pending
2Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04mod-wsgiFixed4.9.0-1ubuntu0.1UBUNTU-CVE-2022-2255
Ubuntu 20.04mod-wsgiFixed4.6.8-1ubuntu3.1UBUNTU-CVE-2022-2255
Ubuntu 18.04mod-wsgiFixed4.5.17-1ubuntu1.1UBUNTU-CVE-2022-2255
Ubuntu 16.04mod-wsgiFix pending
Ubuntu 14.04mod-wsgiFix pending
Debian 14mod-wsgiFixed4.9.0-1.1DEBIAN-CVE-2022-2255
Debian 13mod-wsgiFixed4.9.0-1.1DEBIAN-CVE-2022-2255
Debian 12mod-wsgiFixed4.9.0-1.1DEBIAN-CVE-2022-2255
Red Hat Enterprise Linux 9python3-mod_wsgiWill not fix
Will not fix
Red Hat Enterprise Linux 8PyYAMLFixed0:5.4.1-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8mod_wsgiFixed
Will not fix
0:4.7.1-7.module+el8.10.0+23075+0aa18782.1RHSA-2025:4791
Red Hat Enterprise Linux 8numpyFixed0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-PyMySQLFixed0:0.10.1-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-cffiFixed0:1.14.3-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-chardetFixed0:3.0.4-19.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-cryptographyFixed0:3.3.1-3.module+el8.10.0+21271+eccd1d86RHSA-2025:4791
Red Hat Enterprise Linux 8python-idnaFixed0:2.10-4.module+el8.10.0+21815+bb024982RHSA-2025:4791
Red Hat Enterprise Linux 8python-lxmlFixed0:4.6.5-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-plyFixed0:3.11-10.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-psutilFixed0:5.8.0-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-psycopg2Fixed0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2025:4791
Red Hat Enterprise Linux 8python-pycparserFixed0:2.20-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-pysocksFixed0:1.7.1-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-requestsFixed0:2.25.0-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-tomlFixed0:0.10.1-5.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python-urllib3Fixed0:1.25.10-5.module+el8.10.0+20443+f0a692feRHSA-2025:4791
Red Hat Enterprise Linux 8python-wheelFixed1:0.35.1-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python38-mod_wsgiWill not fix
Will not fix
Red Hat Enterprise Linux 8python39Fixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-PyMySQLFixed0:0.10.1-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-cffiFixed0:1.14.3-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-chardetFixed0:3.0.4-19.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-cryptographyFixed0:3.3.1-3.module+el8.10.0+21271+eccd1d86RHSA-2025:4791
Red Hat Enterprise Linux 8python39-develFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-idleFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-idnaFixed0:2.10-4.module+el8.10.0+21815+bb024982RHSA-2025:4791
Red Hat Enterprise Linux 8python39-libsFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-lxmlFixed0:4.6.5-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-mod_wsgiFixed
Will not fix
0:4.7.1-7.module+el8.10.0+23075+0aa18782.1RHSA-2025:4791
Red Hat Enterprise Linux 8python39-numpyFixed0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-numpy-docFixed0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-numpy-f2pyFixed0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-pipFixed0:20.2.4-9.module+el8.10.0+21329+8d76b841RHSA-2025:4791
Red Hat Enterprise Linux 8python39-pip-wheelFixed0:20.2.4-9.module+el8.10.0+21329+8d76b841RHSA-2025:4791
Red Hat Enterprise Linux 8python39-plyFixed0:3.11-10.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-psutilFixed0:5.8.0-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-psycopg2Fixed0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2025:4791
Red Hat Enterprise Linux 8python39-psycopg2-docFixed0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2025:4791
Red Hat Enterprise Linux 8python39-psycopg2-testsFixed0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2025:4791
Red Hat Enterprise Linux 8python39-pycparserFixed0:2.20-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-pysocksFixed0:1.7.1-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-pyyamlFixed0:5.4.1-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-requestsFixed0:2.25.0-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-rpm-macrosFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-scipyFixed0:1.5.4-5.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-setuptoolsFixed0:50.3.2-6.module+el8.10.0+22183+c898c0c1RHSA-2025:4791
Red Hat Enterprise Linux 8python39-setuptools-wheelFixed0:50.3.2-6.module+el8.10.0+22183+c898c0c1RHSA-2025:4791
Red Hat Enterprise Linux 8python39-sixFixed0:1.15.0-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-testFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-tkinterFixed0:3.9.20-1.module+el8.10.0+22342+478c159eRHSA-2025:4791
Red Hat Enterprise Linux 8python39-tomlFixed0:0.10.1-5.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-urllib3Fixed0:1.25.10-5.module+el8.10.0+20443+f0a692feRHSA-2025:4791
Red Hat Enterprise Linux 8python39-wheelFixed1:0.35.1-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python39-wheel-wheelFixed1:0.35.1-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8python3x-pipFixed0:20.2.4-9.module+el8.10.0+21329+8d76b841RHSA-2025:4791
Red Hat Enterprise Linux 8python3x-setuptoolsFixed0:50.3.2-6.module+el8.10.0+22183+c898c0c1RHSA-2025:4791
Red Hat Enterprise Linux 8python3x-sixFixed0:1.15.0-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 8scipyFixed0:1.5.4-5.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hat Enterprise Linux 7mod_wsgiNot affected
Red Hat Enterprise Linux 6mod_wsgiNot affected
AlmaLinux 8python39Fixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-PyMySQLFixed0.10.1-2.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-cffiFixed1.14.3-2.module_el8.6.0+3248+c431e88cALSA-2025:4791
AlmaLinux 8python39-chardetFixed3.0.4-19.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-cryptographyFixed3.3.1-3.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-develFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-idleFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-idnaFixed2.10-4.module_el8.10.0+3849+a48d89aaALSA-2025:4791
AlmaLinux 8python39-libsFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-lxmlFixed4.6.5-1.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-mod_wsgiFixed4.7.1-7.module_el8.10.0+3989+a618fe15.1ALSA-2025:4791
AlmaLinux 8python39-numpyFixed1.19.4-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-numpy-docFixed1.19.4-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-numpy-f2pyFixed1.19.4-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-pipFixed20.2.4-9.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-pip-wheelFixed20.2.4-9.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-plyFixed3.11-10.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-psutilFixed5.8.0-4.module_el8.6.0+3248+c431e88cALSA-2025:4791
AlmaLinux 8python39-psycopg2Fixed2.8.6-3.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-psycopg2-docFixed2.8.6-3.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-psycopg2-testsFixed2.8.6-3.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-pycparserFixed2.20-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-pysocksFixed1.7.1-4.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-pyyamlFixed5.4.1-1.module_el8.6.0+3248+c431e88cALSA-2025:4791
AlmaLinux 8python39-requestsFixed2.25.0-3.module_el8.9.0+3634+fb2a896cALSA-2025:4791
AlmaLinux 8python39-rpm-macrosFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-scipyFixed1.5.4-5.module_el8.9.0+3634+fb2a896cALSA-2025:4791
AlmaLinux 8python39-setuptoolsFixed50.3.2-6.module_el8.10.0+3885+d986a391ALSA-2025:4791
AlmaLinux 8python39-setuptools-wheelFixed50.3.2-6.module_el8.10.0+3885+d986a391ALSA-2025:4791
AlmaLinux 8python39-sixFixed1.15.0-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-testFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-tkinterFixed3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux 8python39-tomlFixed0.10.1-5.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-urllib3Fixed1.25.10-5.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux 8python39-wheelFixed1:0.35.1-4.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux 8python39-wheel-wheelFixed1:0.35.1-4.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
Rocky Linux 8PyYAMLFixed0:5.4.1-1.module+el8.9.0+1418+f0d66789RLSA-2025:4791
Rocky Linux 8mod_wsgiFixed0:4.7.1-7.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8numpyFixed0:1.19.4-3.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-PyMySQLFixed0:0.10.1-2.module+el8.10.0+1910+234ad790RLSA-2025:4791
Rocky Linux 8python-cffiFixed0:1.14.3-2.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-chardetFixed0:3.0.4-19.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-cryptographyFixed0:3.3.1-3.module+el8.10.0+1697+7e517775RLSA-2025:4791
Rocky Linux 8python-idnaFixed0:2.10-4.module+el8.10.0+1809+41195054RLSA-2025:4791
Rocky Linux 8python-lxmlFixed0:4.6.5-1.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-plyFixed0:3.11-10.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-psutilFixed0:5.8.0-4.module+el8.9.0+1357+a3b80af7RLSA-2025:4791
Rocky Linux 8python-psycopg2Fixed0:2.8.6-3.module+el8.10.0+1660+b5b6f004RLSA-2025:4791
Rocky Linux 8python-pycparserFixed0:2.20-3.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux 8python-pysocksFixed0:1.7.1-4.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux 8python-requestsFixed0:2.25.0-3.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8python-tomlFixed0:0.10.1-5.module+el8.9.0+1332+dd574197RLSA-2025:4791
Rocky Linux 8python-urllib3Fixed0:1.25.10-5.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux 8python-wheelFixed1:0.35.1-4.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux 8python39Fixed0:3.9.20-1.module+el8.10.0+1876+829fd4e0RLSA-2025:4791
Rocky Linux 8python3x-pipFixed0:20.2.4-9.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux 8python3x-setuptoolsFixed0:50.3.2-6.module+el8.10.0+1861+0f5e39ecRLSA-2025:4791
Rocky Linux 8python3x-sixFixed0:1.15.0-3.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux 8scipyFixed0:1.5.4-5.module+el8.10.0+1582+bc278001RLSA-2025:4791
PyPI librarymod-wsgiFixed4.9.3GHSA-7527-8855-9cf8

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.