python-aiohttp: CVE-2024-23334

Related Vulnerabilities: CVE-2024-23334  

Debian Bug report logs - #1062709
python-aiohttp: CVE-2024-23334

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Fri, 2 Feb 2024 21:06:01 UTC

Severity: important

Tags: security, upstream

Found in version python-aiohttp/3.9.1-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1062709; Package src:python-aiohttp. (Fri, 02 Feb 2024 21:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>. (Fri, 02 Feb 2024 21:06:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-aiohttp: CVE-2024-23334
Date: Fri, 02 Feb 2024 22:03:06 +0100
Source: python-aiohttp
Version: 3.9.1-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for python-aiohttp.

CVE-2024-23334[0]:
| aiohttp is an asynchronous HTTP client/server framework for asyncio
| and Python. 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 'follow_symlinks' can be used to
| determine whether to follow symbolic links outside the static root
| directory. When 'follow_symlinks' 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.  Version 3.9.2 fixes this
| issue.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2024-23334
    https://www.cve.org/CVERecord?id=CVE-2024-23334
[1] https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
[2] https://github.com/aio-libs/aiohttp/commit/9118a5831e8a65b8c839eb7e4ac983e040ff41df

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Feb 3 14:45:35 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.