MGASA-2024-0388

Source
https://advisories.mageia.org/MGASA-2024-0388.html
Import Source
https://advisories.mageia.org/MGASA-2024-0388.json
JSON Data
https://api.test.osv.dev/v1/vulns/MGASA-2024-0388
Related
Published
2024-12-04T16:58:15Z
Modified
2024-12-04T16:31:42Z
Summary
Updated python-aiohttp packages fix security vulnerabilities
Details

When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'followsymlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'followsymlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. CVE-2024-23334 The Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. CVE-2024-52304

References
Credits

Affected packages

Mageia:9 / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:rpm/mageia/python-aiohttp?distro=mageia-9

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.3-3.2.mga9

Ecosystem specific

{
    "section": "core"
}