CVE & CISA-KEV Catalog

CVE-2022-2255

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
mod-wsgiDebian
Fixed in:4.7.1-3+deb11u1CVE-2022-2255
Fixed in:4.9.0-1.1CVE-2022-2255
Fixed in:4.9.0-1.1CVE-2022-2255
Fixed in:4.9.0-1.1CVE-2022-2255
PyYAMLRocky
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
PyYAMLRed Hat / RHEL
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
PyYAML-debugsourceRocky
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
PyYAML-debugsourceRed Hat / RHEL
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:5.4.1-1.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
mod_wsgiRed Hat / RHEL
Fixed in:0:4.7.1-7.module+el8.10.0+23075+0aa18782.1.src::python39:3.9RHSA-2025:4791
mod_wsgiRocky
Fixed in:0:4.7.1-7.module+el8.10.0+23075+0aa18782.1.src::python39:3.9RHSA-2025:4791
numpyRed Hat / RHEL
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
numpyRocky
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
numpy-debugsourceRed Hat / RHEL
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
numpy-debugsourceRocky
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:1.19.4-3.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
python-PyMySQLRed Hat / RHEL
Fixed in:0:0.10.1-2.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-PyMySQLRocky
Fixed in:0:0.10.1-2.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-cffiRed Hat / RHEL
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-cffiRocky
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-cffi-debugsourceRed Hat / RHEL
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
python-cffi-debugsourceRocky
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:1.14.3-2.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
python-chardetRocky
Fixed in:0:3.0.4-19.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-chardetRed Hat / RHEL
Fixed in:0:3.0.4-19.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-cryptographyRocky
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.src::python39:3.9RHSA-2025:4791
python-cryptographyRed Hat / RHEL
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.src::python39:3.9RHSA-2025:4791
python-cryptography-debugsourceRed Hat / RHEL
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.s390x::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.x86_64::python39:3.9RHSA-2025:4791
python-cryptography-debugsourceRocky
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:3.3.1-3.module+el8.10.0+21271+eccd1d86.s390x::python39:3.9RHSA-2025:4791
python-idnaRed Hat / RHEL
Fixed in:0:2.10-4.module+el8.10.0+21815+bb024982.src::python39:3.9RHSA-2025:4791
python-idnaRocky
Fixed in:0:2.10-4.module+el8.10.0+21815+bb024982.src::python39:3.9RHSA-2025:4791
python-lxmlRed Hat / RHEL
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-lxmlRocky
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791
python-lxml-debugsourceRocky
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
python-lxml-debugsourceRed Hat / RHEL
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.aarch64::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.x86_64::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.ppc64le::python39:3.9RHSA-2025:4791
Fixed in:0:4.6.5-1.module+el8.9.0+19644+d68f775d.s390x::python39:3.9RHSA-2025:4791
python-plyRocky
Fixed in:0:3.11-10.module+el8.9.0+19644+d68f775d.src::python39:3.9RHSA-2025:4791

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.70%probability of exploitation in 30 days
50thpercentile

Moderate risk: more likely to be exploited than 50% of all known CVEs.

References

Related Vulnerabilities

Other CWE-348 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-59951Critical9.14.7%--
CVE-2022-31813Critical9.83.3%-Fix
CVE-2024-45410Critical9.81.5%-Fix
CVE-2021-21373High7.51.2%-Fix
CVE-2021-21374High8.11.0%-Fix
CVE-2022-4539Medium5.30.6%-Fix

Common questions

How do I fix CVE-2022-2255?

Published advisories record a fix for 156 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-2255 being actively exploited?

Not that we know of. CVE-2022-2255 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.70% is the estimated probability that it will be exploited in the next 30 days. That is higher than 50% of all scored CVEs.

How severe is CVE-2022-2255?

CVE-2022-2255 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-2255 affect?

Published advisories record a fix for mod-wsgi (Debian), PyYAML (Rocky), PyYAML (Red Hat / RHEL), PyYAML-debugsource (Rocky), and 152 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-2255
CVE-2022-2255 severity badge

Markdown

[![CVE-2022-2255](https://tridentstack.com/cve/badge/CVE-2022-2255.svg)](https://tridentstack.com/cve/CVE-2022-2255)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-2255"><img src="https://tridentstack.com/cve/badge/CVE-2022-2255.svg" alt="CVE-2022-2255"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.