OESA-2024-2254

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-2254
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-2254.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-2254
Upstream
Published
2024-10-18T11:09:22Z
Modified
2025-09-03T06:20:26.831602Z
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. Prior to version 3.10.2, static routes which contain files with compressed variants (.gz or .br extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when follow_symlinks=False (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the FileResponse class, and symbolic links are then automatically followed when performing the Path.stat() and Path.open() to send the file. Version 3.10.2 contains a patch for the issue.(CVE-2024-42367)

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

Affected packages

openEuler:24.03-LTS / python-aiohttp

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.3-5.oe2403

Ecosystem specific

{
    "x86_64": [
        "python-aiohttp-debuginfo-3.9.3-5.oe2403.x86_64.rpm",
        "python-aiohttp-debugsource-3.9.3-5.oe2403.x86_64.rpm",
        "python-aiohttp-help-3.9.3-5.oe2403.x86_64.rpm",
        "python3-aiohttp-3.9.3-5.oe2403.x86_64.rpm"
    ],
    "aarch64": [
        "python-aiohttp-debuginfo-3.9.3-5.oe2403.aarch64.rpm",
        "python-aiohttp-debugsource-3.9.3-5.oe2403.aarch64.rpm",
        "python-aiohttp-help-3.9.3-5.oe2403.aarch64.rpm",
        "python3-aiohttp-3.9.3-5.oe2403.aarch64.rpm"
    ],
    "src": [
        "python-aiohttp-3.9.3-5.oe2403.src.rpm"
    ]
}