CVE-2011-4940

NameCVE-2011-4940
DescriptionThe list_directory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Type HTTP header, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer 7 via UTF-7 encoding.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-25-1
NVD severitylow (attack range: remote)
Debian Bugs664135

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.6 (PTS)wheezy2.6.8-1.1vulnerable
python2.7 (PTS)wheezy2.7.3-6+deb7u2fixed
wheezy (security)2.7.3-6+deb7u3fixed
jessie2.7.9-2+deb8u1fixed
buster, stretch2.7.13-2fixed
sid2.7.14-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(unfixed)unimportant
python2.6source(unstable)(unfixed)unimportant664135
python2.6sourcesqueeze2.6.6-8+deb6u1lowDLA-25-1
python2.7source(unstable)2.7.2-8unimportant

Notes

http://www.openwall.com/lists/oss-security/2012/03/14/11
This only affects IE7, which is inherently insecure anyway

Search for package or bug name: Reporting problems