OESA-2023-1854

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1854
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1854.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1854
Upstream
Published
2023-11-24T11:06:21Z
Modified
2025-08-12T05:23:25.078023Z
Summary
python-aiohttp security update
Details

Async http client/server framework (asyncio).

Security Fix(es):

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Affected versions of aiohttp have a security vulnerability regarding the inconsistent interpretation of the http protocol. HTTP/1.1 is a persistent protocol, if both Content-Length(CL) and Transfer-Encoding(TE) header values are present it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation. A possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. The impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect an attacker could combine it to redirect random users to another website and log the request. This vulnerability has been addressed in release 3.8.0 of aiohttp. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-47641)

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

Affected packages

openEuler:20.03-LTS-SP1 / python-aiohttp

Package

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

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "python-aiohttp-debuginfo-3.7.4-2.oe1.aarch64.rpm",
        "python3-aiohttp-3.7.4-2.oe1.aarch64.rpm",
        "python-aiohttp-help-3.7.4-2.oe1.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-2.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python-aiohttp-help-3.7.4-2.oe1.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-2.oe1.x86_64.rpm",
        "python-aiohttp-debuginfo-3.7.4-2.oe1.x86_64.rpm",
        "python3-aiohttp-3.7.4-2.oe1.x86_64.rpm"
    ],
    "src": [
        "python-aiohttp-3.7.4-2.oe1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-aiohttp

Package

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

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "python-aiohttp-debugsource-3.7.4-2.oe1.aarch64.rpm",
        "python-aiohttp-help-3.7.4-2.oe1.aarch64.rpm",
        "python-aiohttp-debuginfo-3.7.4-2.oe1.aarch64.rpm",
        "python3-aiohttp-3.7.4-2.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "python-aiohttp-help-3.7.4-2.oe1.x86_64.rpm",
        "python-aiohttp-debuginfo-3.7.4-2.oe1.x86_64.rpm",
        "python3-aiohttp-3.7.4-2.oe1.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-2.oe1.x86_64.rpm"
    ],
    "src": [
        "python-aiohttp-3.7.4-2.oe1.src.rpm"
    ]
}

openEuler:22.03-LTS / python-aiohttp

Package

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

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "python-aiohttp-debuginfo-3.7.4-3.oe2203.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203.aarch64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203.aarch64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203.aarch64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp2.aarch64.rpm"
    ],
    "x86_64": [
        "python-aiohttp-debugsource-3.7.4-3.oe2203.x86_64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203.x86_64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203.x86_64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203.x86_64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp2.x86_64.rpm"
    ],
    "src": [
        "python-aiohttp-3.7.4-3.oe2203.src.rpm",
        "python-aiohttp-3.7.4-3.oe2203sp1.src.rpm",
        "python-aiohttp-3.7.4-3.oe2203sp2.src.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:rpm/openEuler/python-aiohttp&distro=openEuler-22.03-LTS-SP1

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "python-aiohttp-help-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.aarch64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp1.aarch64.rpm"
    ],
    "x86_64": [
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp1.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.x86_64.rpm"
    ],
    "src": [
        "python-aiohttp-3.7.4-3.oe2203sp1.src.rpm"
    ]
}

openEuler:22.03-LTS-SP2 / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:rpm/openEuler/python-aiohttp&distro=openEuler-22.03-LTS-SP2

Affected ranges

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

Ecosystem specific

{
    "aarch64": [
        "python-aiohttp-help-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.aarch64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp2.aarch64.rpm"
    ],
    "x86_64": [
        "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python3-aiohttp-3.7.4-3.oe2203sp2.x86_64.rpm",
        "python-aiohttp-help-3.7.4-3.oe2203sp2.x86_64.rpm"
    ],
    "src": [
        "python-aiohttp-3.7.4-3.oe2203sp2.src.rpm"
    ]
}