CVE Database


Impact: Low
Public: 2011-03-08
Bugzilla: 803500: CVE-2011-4940 python: potential XSS in SimpleHTTPServer's list_directory()
IAVA: 2012-A-0189


The MITRE CVE dictionary describes this issue as:

The list_directory function in Lib/ 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.

Find out more about CVE-2011-4940 from the MITRE CVE dictionary and NIST NVD.

CVSS v2 metrics

Base Score: 2.6
Base Metrics: AV:N/AC:H/Au:N/C:N/I:P/A:N
Access Vector: Network
Access Complexity: High
Authentication: None
Confidentiality Impact: None
Integrity Impact: Partial
Availability Impact: None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
Red Hat Enterprise Linux version 5 (python) RHSA-2012:0745 June 18, 2012
Red Hat Enterprise Linux version 6 (python) RHSA-2012:0744 June 18, 2012

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.