CVE-2011-1521

NameCVE-2011-1521
DescriptionThe urllib and urllib2 modules in Python 2.x before 2.7.2 and 3.x before 3.2.1 process Location headers that specify redirection to file: URLs, which makes it easier for remote attackers to obtain sensitive information or cause a denial of service (resource consumption) via a crafted URL, as demonstrated by the file:///etc/passwd and file:///dev/zero URLs.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-25-1
NVD severitymedium (attack range: remote)
Debian Bugs628453, 628455

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.6 (PTS)wheezy2.6.8-1.1fixed
python2.7 (PTS)wheezy2.7.3-6+deb7u2fixed
wheezy (security)2.7.3-6+deb7u3fixed
jessie2.7.9-2+deb8u1fixed
buster, stretch2.7.13-2fixed
sid2.7.14-2fixed
python3.2 (PTS)wheezy3.2.3-7fixed
wheezy (security)3.2.3-7+deb7u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(unfixed)medium
python2.6source(unstable)2.6.7-1medium628455
python2.6sourcesqueeze2.6.6-8+deb6u1mediumDLA-25-1
python2.7source(unstable)2.7.1-7medium
python3.1source(unstable)(unfixed)medium628453
python3.2source(unstable)3.2-3medium

Notes

[squeeze] - python3.1 <no-dsa> (Minor issue)
[squeeze] - python2.5 <no-dsa> (Minor issue)
http://bugs.python.org/issue11662

Search for package or bug name: Reporting problems