Описание
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch 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.
A vulnerability was found in aiohttp. Static routes that contain files with compressed variants (.gz or .br extension) were vulnerable to path traversal outside the root directory if those variants were symbolic links. Servers with static routes that contain compressed variants as symbolic links, pointing outside the root directory, or that permit users to upload or create such links, are impacted.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
OpenShift Lightspeed | openshift-lightspeed-beta/lightspeed-service-api-rhel9 | Under investigation | ||
Red Hat Ansible Automation Platform 1.2 | ansible-tower | Under investigation | ||
Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-dellemc-openmanage-rhel8 | Under investigation | ||
Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/platform-resource-runner-rhel8 | Under investigation | ||
Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Under investigation | ||
Red Hat Ansible Automation Platform 2 | automation-controller | Under investigation | ||
Red Hat Ansible Automation Platform 2 | python-aiohttp | Under investigation | ||
Red Hat Satellite 6 | python-aiohttp | Under investigation | ||
Red Hat Satellite 6 | satellite-capsule:el8/python-aiohttp | Under investigation | ||
Red Hat Satellite 6 | satellite:el8/python-aiohttp | Under investigation |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
4.8 Medium
CVSS3
Связанные уязвимости
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch 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.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch 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.
aiohttp is an asynchronous HTTP client/server framework for asyncio an ...
In aiohttp, compressed files as symlinks are not protected from path traversal
4.8 Medium
CVSS3