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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-25-1
Debian Bugs628453, 628455

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie, jessie (lts)2.7.9-2-ds1-1+deb8u12fixed
stretch (security)2.7.13-2+deb9u6fixed
stretch (lts), stretch2.7.13-2+deb9u9fixed
buster2.7.16-2+deb10u1fixed
buster (security)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(unfixed)
python2.6sourcesqueeze2.6.6-8+deb6u1DLA-25-1
python2.6source(unstable)2.6.7-1628455
python2.7source(unstable)2.7.1-7
python3.1source(unstable)(unfixed)628453
python3.2source(unstable)3.2-3

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