OESA-2022-1827

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1827
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1827.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2022-1827
Upstream
Published
2022-08-13T11:04:07Z
Modified
2025-09-03T06:18:02.353431Z
Summary
mod_wsgi security update
Details

The modwsgi adapter is an Apache module that provides a WSGI compliant interface for hosting Python based web applications within Apache. The adapter is written completely in C code against the Apache C runtime andfor hosting WSGI applications within Apache has a lower overhead than using existing WSGI adapters for modpython or CGI.

Security Fix(es):

A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy (trusted proxies are configured via the WSGITrustedProxies directive) allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing.

References: https://github.com/GrahamDumpleton/modwsgi/blob/4.9.2/src/server/modwsgi.c#L13940-L13941 https://github.com/GrahamDumpleton/modwsgi/blob/4.9.2/src/server/modwsgi.c#L14046-L14082(CVE-2022-2255)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / mod_wsgi

Package

Name
mod_wsgi
Purl
pkg:rpm/openEuler/mod_wsgi&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.4-3.oe1

Ecosystem specific

{
    "src": [
        "mod_wsgi-4.6.4-3.oe1.src.rpm"
    ],
    "aarch64": [
        "mod_wsgi-debuginfo-4.6.4-3.oe1.aarch64.rpm",
        "python3-mod_wsgi-4.6.4-3.oe1.aarch64.rpm",
        "mod_wsgi-debugsource-4.6.4-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python3-mod_wsgi-4.6.4-3.oe1.x86_64.rpm",
        "mod_wsgi-debugsource-4.6.4-3.oe1.x86_64.rpm",
        "mod_wsgi-debuginfo-4.6.4-3.oe1.x86_64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / mod_wsgi

Package

Name
mod_wsgi
Purl
pkg:rpm/openEuler/mod_wsgi&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.4-3.oe1

Ecosystem specific

{
    "src": [
        "mod_wsgi-4.6.4-3.oe1.src.rpm"
    ],
    "aarch64": [
        "python3-mod_wsgi-4.6.4-3.oe1.aarch64.rpm",
        "mod_wsgi-debugsource-4.6.4-3.oe1.aarch64.rpm",
        "mod_wsgi-debuginfo-4.6.4-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python3-mod_wsgi-4.6.4-3.oe1.x86_64.rpm",
        "mod_wsgi-debuginfo-4.6.4-3.oe1.x86_64.rpm",
        "mod_wsgi-debugsource-4.6.4-3.oe1.x86_64.rpm"
    ]
}

openEuler:22.03-LTS / mod_wsgi

Package

Name
mod_wsgi
Purl
pkg:rpm/openEuler/mod_wsgi&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.4-3.oe2203

Ecosystem specific

{
    "src": [
        "mod_wsgi-4.6.4-3.oe2203.src.rpm"
    ],
    "aarch64": [
        "python3-mod_wsgi-4.6.4-3.oe2203.aarch64.rpm",
        "mod_wsgi-debuginfo-4.6.4-3.oe2203.aarch64.rpm",
        "mod_wsgi-debugsource-4.6.4-3.oe2203.aarch64.rpm"
    ],
    "x86_64": [
        "mod_wsgi-debugsource-4.6.4-3.oe2203.x86_64.rpm",
        "python3-mod_wsgi-4.6.4-3.oe2203.x86_64.rpm",
        "mod_wsgi-debuginfo-4.6.4-3.oe2203.x86_64.rpm"
    ]
}