MEDIUM · 6.4

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...

Vulnerability 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.

CVSS Score

6.4

MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:P
Confidentiality
PARTIAL
Integrity
NONE
Availability
PARTIAL

Affected Products

VendorProductVersions
PythonPython2.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2011-1521?

CVE-2011-1521 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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...

How severe is CVE-2011-1521?

CVE-2011-1521 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2011-1521?

Check the references section above for vendor advisories and patch information. Affected products include: Python Python.