Advisory

GHSA-7527-8855-9cf8

Also known as: BIT-mod_wsgi-2022-2255, CVE-2022-2255, PYSEC-2022-254

Summary

Incorrect header handling in mod-wsgi

Details

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

High Basis: The source's own band: HIGH

Dates

Published
2022-08-26 00:03 UTC
Modified
2024-09-25 20:23 UTC

Affected packages and fixes

mod-wsgi

PyPI · All systems

Affected

  • introduced 0, fixed 4.9.3 (ecosystem)

Fixed versions

4.9.3

Fix

  • Fixed version 4.9.3
    pip install --upgrade mod-wsgi==4.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences