U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2011-1521 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://bugs.python.org/issue11662 CVE, MITRE Patch 
http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS CVE, MITRE
http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS CVE, MITRE
http://hg.python.org/cpython/rev/96a6c128822b/ CVE, MITRE Patch 
http://hg.python.org/cpython/rev/b2934d98dac1/ CVE, MITRE Patch 
http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html CVE, MITRE
http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html CVE, MITRE
http://openwall.com/lists/oss-security/2011/03/24/5 CVE, MITRE
http://openwall.com/lists/oss-security/2011/03/28/2 CVE, MITRE
http://openwall.com/lists/oss-security/2011/09/11/1 CVE, MITRE
http://openwall.com/lists/oss-security/2011/09/13/2 CVE, MITRE
http://openwall.com/lists/oss-security/2011/09/15/5 CVE, MITRE
http://secunia.com/advisories/50858 CVE, MITRE
http://secunia.com/advisories/51024 CVE, MITRE
http://secunia.com/advisories/51040 CVE, MITRE
http://securitytracker.com/id?1025488 CVE, MITRE
http://support.apple.com/kb/HT5002 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDVSA-2011:096 CVE, MITRE
http://www.ubuntu.com/usn/USN-1592-1 CVE, MITRE
http://www.ubuntu.com/usn/USN-1596-1 CVE, MITRE
http://www.ubuntu.com/usn/USN-1613-1 CVE, MITRE
http://www.ubuntu.com/usn/USN-1613-2 CVE, MITRE
https://bugzilla.redhat.com/show_bug.cgi?id=690560 CVE, MITRE Patch 
https://bugzilla.redhat.com/show_bug.cgi?id=737366 CVE, MITRE
https://www.djangoproject.com/weblog/2011/sep/09/ CVE, MITRE
https://www.djangoproject.com/weblog/2011/sep/10/127/ CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-399 Resource Management Errors cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

8 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2011-1521
NVD Published Date:
05/24/2011
NVD Last Modified:
04/10/2025
Source:
MITRE