StackPatch is liveSee product

Back to CVE digest
CVE-2011-4940 · cross-distro fix matrix

CVE-2011-4940: 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) att

Affects 1 Linux release across 1 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2011-4940 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • python2.7→ fixed in2.7.2-8urgency: unimportant
    sudo apt-get install --only-upgrade -y python2.7
Are YOU affected by CVE-2011-4940?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2011-4940dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)