Ubuntu update for python-aiohttp



| Updated: 2024-11-29
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-23334
CWE-ID CWE-22
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

python3-aiohttp (Ubuntu package)
Operating systems & Components / Operating system package or component

python-aiohttp-doc (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Path traversal

EUVDB-ID: #VU85886

Risk: High

CVSSv4.0: [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber]

CVE-ID: CVE-2024-23334

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in aiohttp.web.static(follow_symlinks=True). A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Request examples:

For windows: /static/../D:\flag.txt Poc

For Linux: /static/../../../../etc/passwd


Mitigation

Update the affected package python-aiohttp to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 24.04

python3-aiohttp (Ubuntu package): before Ubuntu Pro

python-aiohttp-doc (Ubuntu package): before 3.8.1-4ubuntu0.2

CPE2.3 External links

http://ubuntu.com/security/notices/USN-6991-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###