CVE-2011-4940

Publication date 27 June 2012

Last updated 24 July 2024


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
python2.4 12.04 LTS precise Not in release
11.10 oneiric Not in release
11.04 natty Not in release
10.10 maverick Not in release
10.04 LTS lucid Not in release
8.04 LTS hardy
Fixed 2.4.5-1ubuntu4.4
python2.5 12.04 LTS precise Not in release
11.10 oneiric Not in release
11.04 natty Not in release
10.10 maverick Not in release
10.04 LTS lucid Not in release
8.04 LTS hardy
Fixed 2.5.2-2ubuntu6.2
python2.6 12.04 LTS precise Not in release
11.10 oneiric
Not affected
11.04 natty
Fixed 2.6.6-6ubuntu7.1
10.10 maverick Ignored end of life
10.04 LTS lucid
Fixed 2.6.5-1ubuntu6.1
8.04 LTS hardy Not in release
python2.7 12.04 LTS precise
Not affected
11.10 oneiric
Not affected
11.04 natty
Fixed 2.7.1-5ubuntu2.2
10.10 maverick Ignored end of life
10.04 LTS lucid Not in release
8.04 LTS hardy Not in release

Notes


tyhicks

A duplicate CVE was incorrectly assigned as CVE-2012-2639

References

Related Ubuntu Security Notices (USN)

    • USN-1613-1
    • Python 2.5 vulnerabilities
    • 17 October 2012
    • USN-1592-1
    • Python 2.7 vulnerabilities
    • 2 October 2012
    • USN-1613-2
    • Python 2.4 vulnerabilities
    • 17 October 2012
    • USN-1596-1
    • Python 2.6 vulnerabilities
    • 4 October 2012

Other references