2.6

CVE-2011-4940: python

Modified
AliasesDEBIAN-CVE-2011-4940
Published 27-06-2012Last modified 07-08-2024

Vulnerability summary

CVE-2011-4940 is a low (CVSS 2.6) vulnerability in python. EPSS estimates a 3.18% chance of exploitation in the next 30 days, higher than 88% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.6/10
010
Low · v2.0 (NVD)
EPSS score
3.18%
0%100%
Low · -0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Duplicates 1

Timeline

  1. 27-06-2012
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

3.18%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

Decrease -0.04 pp

From 3.21% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • python2.7< 2.7.2-8
Python1 product
  • pythonEOL≤ 2.5.6 | 0.9.0 | 0.9.1 | 1.2 | 1.3 | 1.5.2 | 1.6 | 1.6.1 | 2.0.1 | 2.1.1 | 2.1.2 | 2.1.3 | 2.2.1 | 2.2.2 | 2.2.3 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.5 | 2.3.7 | 2.4.1 | 2.4.2 | 2.4.3 | 2.4.4 | 2.4.6 | 2.5.1 | 2.5.2 | 2.5.3 | 2.5.4 | 2.6.1 | 2.6.2 | 2.6.3 | 2.6.4 | 2.6.5 | 2.6.6 | 2.7.1 | 2.7.1:rc1 | 2.7.2:rc1

2 vendors · 2 products

References

13 links
Show all 13 references