CVE-2011-1521

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.

Category

6.4
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 2.29% Top 20%
Vendor Advisory mandriva.com Vendor Advisory opensuse.org Vendor Advisory ubuntu.com Vendor Advisory apple.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://openwall.com/lists/oss-security/2011/09/15/5 mailing list
http://www.mandriva.com/security/advisories?name=MDVSA-2011:096 vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html vendor advisory
http://hg.python.org/cpython/rev/b2934d98dac1/ patch
http://www.ubuntu.com/usn/USN-1592-1 vendor advisory
http://hg.python.org/cpython/rev/96a6c128822b/ patch
http://secunia.com/advisories/51040 third party advisory
http://secunia.com/advisories/50858 third party advisory
http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html vendor advisory
http://bugs.python.org/issue11662 patch
http://openwall.com/lists/oss-security/2011/03/24/5 mailing list
http://openwall.com/lists/oss-security/2011/03/28/2 mailing list
http://securitytracker.com/id?1025488 vdb entry
http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
https://bugzilla.redhat.com/show_bug.cgi?id=690560 patch
https://bugzilla.redhat.com/show_bug.cgi?id=737366
http://www.ubuntu.com/usn/USN-1596-1 vendor advisory
http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
http://openwall.com/lists/oss-security/2011/09/11/1 mailing list
http://www.ubuntu.com/usn/USN-1613-2 vendor advisory
http://support.apple.com/kb/HT5002
https://www.djangoproject.com/weblog/2011/sep/10/127/
http://secunia.com/advisories/51024 third party advisory
http://www.ubuntu.com/usn/USN-1613-1 vendor advisory
http://openwall.com/lists/oss-security/2011/09/13/2 mailing list
https://www.djangoproject.com/weblog/2011/sep/09/

Frequently Asked Questions

What is the severity of CVE-2011-1521?
CVE-2011-1521 has been scored as a medium severity vulnerability.
How to fix CVE-2011-1521?
To fix CVE-2011-1521, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2011-1521 being actively exploited in the wild?
It is possible that CVE-2011-1521 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.