Vulnerability
CVE-2024-27306
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.
56 advisories report this vulnerability, across 10 ecosystems.
Advisories in Wolfi
- CGA-2468-9f95-mr9h
- CGA-2rg8-fcwm-2j75
- CGA-45fm-5r7r-938h
- CGA-4cpm-jhwx-wf34
- CGA-5xcx-3r64-jq93
- CGA-6p5x-mvpc-c6g8
- CGA-6wjh-g2j4-26jj
- CGA-7phq-gcjh-m62w
- CGA-7qvj-m56w-m3fm
- CGA-9cfw-7hg6-6g2m
- CGA-9g92-xmgq-r5x5
- CGA-9j52-8h85-ggj9
- CGA-c2ph-9v2r-6692
- CGA-cr6r-mw5g-3838
- CGA-g4v6-f38r-jwj8
- CGA-hq96-59rf-46rv
- CGA-hxx9-q5rm-53vf
- CGA-m8mj-r63j-2552
- CGA-p6jg-962q-j4fj
- CGA-ph4r-4v3h-x92h
- CGA-q4gj-h366-3m97
- CGA-qhp7-5jqf-qf6g
- CGA-qvr6-7rqp-jgxw
- CGA-r5xx-fq83-f7jc
- CGA-r9f3-gfrq-p3p2
- CGA-rf82-w8hr-57vw
- CGA-wfw5-2p8g-vf39
- CGA-wh52-gp5f-h9gv
- CGA-x6rh-hpmv-h436
- CGA-xv55-r4q4-hfc5
References
- https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- https://github.com/aio-libs/aiohttp/pull/8319
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2EXRGTN2WG7VZLUZ7WOXU5GQJKCPPHKP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NWEI6NIHZ3G7DURDZVMRK7ZEFC2BTD3U/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZIVBMPEY7WWOFMC3CWXFBRQPFECV4SW3/
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html