CVE-2011-4940
Published: 27 June 2012
The 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.
Priority
Status
Package | Release | Status |
---|---|---|
python2.4 Launchpad, Ubuntu, Debian |
Upstream |
Needs triage
|
python2.5 Launchpad, Ubuntu, Debian |
Upstream |
Released
(2.5.6)
|
Patches: Upstream: http://svn.python.org/view/python/branches/release25-maint/Lib/SimpleHTTPServer.py?r1=53148&r2=88815&view=patch Upstream: http://hg.python.org/cpython/rev/e9724d7abbc2 |
||
python2.6 Launchpad, Ubuntu, Debian |
Upstream |
Released
(2.6.7-1)
|
Patches: Upstream: http://svn.python.org/view/python/branches/release26-maint/Lib/SimpleHTTPServer.py?r1=66717&r2=88831&view=patch Upstream: http://hg.python.org/cpython/rev/8cdb95cf096e |
||
python2.7 Launchpad, Ubuntu, Debian |
Upstream |
Released
(2.7.2-8)
|
Patches: Upstream: http://hg.python.org/cpython/rev/e9724d7abbc2/ |
Notes
Author | Note |
---|---|
tyhicks | A duplicate CVE was incorrectly assigned as CVE-2012-2639 |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4940
- http://www.openwall.com/lists/oss-security/2012/03/14/11
- https://usn.ubuntu.com/usn/usn-1592-1
- https://usn.ubuntu.com/usn/usn-1596-1
- https://usn.ubuntu.com/usn/usn-1613-1
- https://usn.ubuntu.com/usn/usn-1613-2
- NVD
- Launchpad
- Debian