CVE-2011-1521 The 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 sen...
MediumCVSS 6.4
EPSS 3.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The 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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| python | = 2.0 | No fix listed |
| python | = 2.0.1 | No fix listed |
| python | = 2.1 | No fix listed |
| python | = 2.1.1 | No fix listed |
| python | = 2.1.2 | No fix listed |
| python | = 2.1.3 | No fix listed |
| python | = 2.2 | No fix listed |
| python | = 2.2.1 | No fix listed |
| python | = 2.2.2 | No fix listed |
| python | = 2.2.3 | No fix listed |
| python | = 2.3.1 | No fix listed |
| python | = 2.3.2 | No fix listed |
| python | = 2.3.3 | No fix listed |
| python | = 2.3.4 | No fix listed |
| python | = 2.3.5 | No fix listed |
| python | = 2.3.7 | No fix listed |
| python | = 2.4.1 | No fix listed |
| python | = 2.4.2 | No fix listed |
| python | = 2.4.3 | No fix listed |
| python | = 2.4.4 | No fix listed |
| python | = 2.4.6 | No fix listed |
| python | = 2.5.1 | No fix listed |
| python | = 2.5.2 | No fix listed |
| python | = 2.5.3 | No fix listed |
| python | = 2.5.4 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| python | = 2.6.1 | No fix listed |
| python | = 2.6.4 | No fix listed |
| python | = 2.6.5 | No fix listed |
| python | = 2.6.6 | No fix listed |
| python | = 2.6.7 | No fix listed |
| python | = 2.7.1 | No fix listed |
| python | = 3.0 | No fix listed |
| python | = 3.0.1 | No fix listed |
| python | = 3.1 | No fix listed |
| python | = 3.1.1 | No fix listed |
| python | = 3.1.2 | No fix listed |
| python | = 3.1.3 | No fix listed |
| python | = 3.2 | No fix listed |
| python | = 3.2-alpha | No fix listed |
| debian/python2.7(Debian:11) | < 2.7.1-7 | 2.7.1-7 |
References
- bugs.python.org patch
- hg.python.org
- hg.python.org
- hg.python.org patch
- hg.python.org patch
- APPLE-SA-2011-10-12-3 vendor-advisory
- SUSE-SR:2011:009 vendor-advisory
- [oss-security] 20110324 CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes mailing-list
- [oss-security] 20110328 Re: CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes mailing-list
- [oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws mailing-list
- [oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws mailing-list
- [oss-security] 20110916 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws mailing-list
- 50858 third-party-advisory
- 51024 third-party-advisory
- 51040 third-party-advisory
- 1025488 vdb-entry
- support.apple.com
- MDVSA-2011:096 vendor-advisory
- USN-1592-1 vendor-advisory
- USN-1596-1 vendor-advisory
- USN-1613-1 vendor-advisory
- USN-1613-2 vendor-advisory
- bugzilla.redhat.com patch
- bugzilla.redhat.com
- www.djangoproject.com
- www.djangoproject.com
- security-tracker.debian.org vendor-advisory