Path traversal in Python - CVE-2014-4650
Published: June 27, 2022 / Updated: June 3, 2025
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which allows remote attackers to read script source code or conduct directory traversal attacks and execute unintended code via a crafted character sequence, as demonstrated by a %2f separator.
Affected software
Fedora
python3
How to mitigate CVE-2014-4650
python3 - update to 3.4.1-16.fc21