Public Date:
803500: CVE-2011-4940 python: potential XSS in SimpleHTTPServer's list_directory()

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 dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

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 2012-06-18
Red Hat Enterprise Linux version 6 (python) RHSA-2012:0744 2012-06-18

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 python Will not fix