Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:9 relevant versions.
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.
python2.7 to version 2.7.8-1 or higher.