Cross-site Scripting (XSS) Affecting python2.7 package, versions <2.7.2-8
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-PYTHON27-306571
- published 27 Jun 2012
- disclosed 27 Jun 2012
Introduced: 27 Jun 2012
CVE-2011-4940 Open this link in a new tabHow to fix?
Upgrade Debian:9
python2.7
to version 2.7.2-8 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python2.7
package and not the python2.7
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2011-4940
- http://bugs.python.org/issue11442
- http://jvn.jp/en/jp/JVN51176027/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
- https://bugzilla.redhat.com/show_bug.cgi?id=803500
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://www.securityfocus.com/bid/54083
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- https://access.redhat.com/errata/RHSA-2012:0744
- https://access.redhat.com/errata/RHSA-2012:0745
- https://access.redhat.com/security/cve/CVE-2011-4940