cve.bz

CVE-2022-2255 Use of Less Trusted Source

7.5 highExploit referenceEPSS 1.0%Fix available

High (7.5). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in mod-wsgi 4.9.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-345 Insufficient Verification of Data Authenticity
CWE-348 Use of Less Trusted Source
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2255 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2255?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2255?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2255 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
modwsgi:mod_wsgibefore 4.9.3
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7527-8855-9cf8PyPImod-wsgi<4.9.34.9.3
PYSEC-2022-254PyPImod-wsgi<4.9.34.9.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10mod-wsgi4.6.5-1+deb10u1DLA-3111-1
Debian12, 13, 14mod-wsgi4.9.0-1.1DEBIAN-CVE-2022-2255
Ubuntu18.04:LTSmod-wsgi4.5.17-1ubuntu1.1UBUNTU-CVE-2022-2255 USN-5551-1
Ubuntu20.04:LTSmod-wsgi4.6.8-1ubuntu3.1UBUNTU-CVE-2022-2255 USN-5551-1
Ubuntu22.04:LTSmod-wsgi4.9.0-1ubuntu0.1UBUNTU-CVE-2022-2255 USN-5551-1
Red Hatenterprise_linux:8::appstreamPyYAML, python39-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreammod_wsgi, python39-mod_wsgi0:4.7.1-7.module+el8.10.0+23075+0aa18782.1RHSA-2025:4791
Red Hatenterprise_linux:8::appstreamnumpy, python39-numpy, numpy-debugsource and 3 more0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python39-PyMySQL0:0.10.1-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-cffi, python39-cffi, python-cffi-debugsource and 1 more0:1.14.3-2.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-chardet, python39-chardet0:3.0.4-19.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-cryptography, python39-cryptography, python-cryptography-debugsource and 1 more0:3.3.1-3.module+el8.10.0+21271+eccd1d86RHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-idna, python39-idna0:2.10-4.module+el8.10.0+21815+bb024982RHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-lxml, python39-lxml, python-lxml-debugsource and 1 more0:4.6.5-1.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-ply, python39-ply0:3.11-10.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-psutil, python39-psutil, python-psutil-debugsource and 1 more0:5.8.0-4.module+el8.9.0+19644+d68f775dRHSA-2025:4791
Red Hatenterprise_linux:8::appstreampython-psycopg2, python39-psycopg2, python39-psycopg2-doc and 3 more0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2025:4791
11 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, Linux Enterprise Module for Public Cloud 12, Linux Enterprise Module for Web and Scripting 12 and 2 moreapache2-mod_wsgi4.4.13-3.3.1SUSE-SU-2022:4013-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3apache2-mod_wsgi4.5.18-150000.4.6.1SUSE-SU-2022:4488-1
SUSELinux Enterprise Module for Public Cloud 15 SP4apache2-mod_wsgi4.7.1-150400.3.3.1SUSE-SU-2022:4010-1
SUSELinux Enterprise Module for Server Applications 15 SP3, Linux Enterprise Module for Server Applications 15 SP4, Manager Proxy Module 4.1 and 2 moreapache2-mod_wsgi-python34.5.18-150000.4.6.1SUSE-SU-2022:4488-1
openSUSELeap 15.3apache2-mod_wsgi, apache2-mod_wsgi-python34.5.18-150000.4.6.1SUSE-SU-2022:4488-1
openSUSELeap 15.4apache2-mod_wsgi4.7.1-150400.3.3.1SUSE-SU-2022:4010-1
openSUSELeap 15.4apache2-mod_wsgi-python34.5.18-150000.4.6.1SUSE-SU-2022:4488-1
openSUSETumbleweedapache2-mod_wsgi4.9.4-1.1openSUSE-SU-2024:12535-1
AlmaLinux8python39, python39-idle, python39-libs and 4 more3.9.20-1.module_el8.10.0+3902+1690be06ALSA-2025:4791
AlmaLinux8python39-PyMySQL0.10.1-2.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux8python39-cffi1.14.3-2.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux8python39-cffi1.14.3-2.module_el8.6.0+3248+c431e88cALSA-2025:4791
AlmaLinux8python39-chardet3.0.4-19.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux8python39-cryptography3.3.1-3.module_el8.10.0+3765+2f9a457dALSA-2025:4791
AlmaLinux8python39-idna2.10-4.module_el8.10.0+3849+a48d89aaALSA-2025:4791
AlmaLinux8python39-lxml4.6.5-1.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux8python39-lxml4.6.5-1.module_el8.6.0+3248+c431e88cALSA-2025:4791
AlmaLinux8python39-mod_wsgi4.7.1-7.module_el8.10.0+3989+a618fe15.1ALSA-2025:4791
AlmaLinux8python39-numpy, python39-numpy-doc, python39-numpy-f2py1.19.4-3.module_el8.6.0+2780+a40f65e1ALSA-2025:4791
AlmaLinux8python39-numpy, python39-numpy-f2py1.19.4-3.module_el8.6.0+3248+c431e88cALSA-2025:4791
16 more for AlmaLinux in the JSON.
Rocky Linux8PyYAML0:5.4.1-1.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux8PyYAML0:5.4.1-1.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux8PyYAML0:5.4.1-1.module+el8.9.0+1418+f0d66789RLSA-2025:4791
Rocky Linux8mod_wsgi0:4.7.1-7.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux8mod_wsgi0:4.7.1-7.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux8mod_wsgi0:4.7.1-7.module+el8.10.0+1978+d4f111ba.1RLSA-2025:4791
Rocky Linux8numpy0:1.19.4-3.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux8numpy0:1.19.4-3.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux8python-PyMySQL0:0.10.1-2.module+el8.10.0+1582+bc278001RLSA-2025:4791
Rocky Linux8python-PyMySQL0:0.10.1-2.module+el8.10.0+1592+61442852RLSA-2025:4791
Rocky Linux8python-PyMySQL0:0.10.1-2.module+el8.10.0+1860+afcc1c71RLSA-2025:4791
Rocky Linux8python-PyMySQL0:0.10.1-2.module+el8.10.0+1910+234ad790RLSA-2025:4791
36 more for Rocky Linux in the JSON.
Azure Linux2mod_wsgi4.9.3-2AZL-10734

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8python39:3.9-8100020250430153343.d47b87a4Fixed 2025-05-12RHSA-2025:4791
Red Hat Enterprise Linux 6mod_wsgiNot affected
Red Hat Enterprise Linux 7mod_wsgiNot affected
Red Hat Enterprise Linux 8mod_wsgiWill not fix
Red Hat Enterprise Linux 8python38:3.8/mod_wsgiWill not fix
Red Hat Enterprise Linux 9mod_wsgiWill not fix
Red Hat Software Collectionspython27-mod_wsgiOut of support scope
Red Hat Software Collectionsrh-python38-mod_wsgiWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-2255.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-141 Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON