CVE Vulnerabilities

CVE-2011-1521

Published: May 24, 2011 | Modified: Oct 25, 2019
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.4 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:P
RedHat/V2
6.4 MODERATE
AV:N/AC:L/Au:N/C:P/I:N/A:P
RedHat/V3
Ubuntu
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 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 Software

Name Vendor Start Version End Version
Python Python 2.0 (including) 2.0 (including)
Python Python 2.0.1 (including) 2.0.1 (including)
Python Python 2.1 (including) 2.1 (including)
Python Python 2.1.1 (including) 2.1.1 (including)
Python Python 2.1.2 (including) 2.1.2 (including)
Python Python 2.1.3 (including) 2.1.3 (including)
Python Python 2.2 (including) 2.2 (including)
Python Python 2.2.1 (including) 2.2.1 (including)
Python Python 2.2.2 (including) 2.2.2 (including)
Python Python 2.2.3 (including) 2.2.3 (including)
Python Python 2.3.1 (including) 2.3.1 (including)
Python Python 2.3.2 (including) 2.3.2 (including)
Python Python 2.3.3 (including) 2.3.3 (including)
Python Python 2.3.4 (including) 2.3.4 (including)
Python Python 2.3.5 (including) 2.3.5 (including)
Python Python 2.3.7 (including) 2.3.7 (including)
Python Python 2.4.1 (including) 2.4.1 (including)
Python Python 2.4.2 (including) 2.4.2 (including)
Python Python 2.4.3 (including) 2.4.3 (including)
Python Python 2.4.4 (including) 2.4.4 (including)
Python Python 2.4.6 (including) 2.4.6 (including)
Python Python 2.5.1 (including) 2.5.1 (including)
Python Python 2.5.2 (including) 2.5.2 (including)
Python Python 2.5.3 (including) 2.5.3 (including)
Python Python 2.5.4 (including) 2.5.4 (including)
Python Python 2.6.1 (including) 2.6.1 (including)
Python Python 2.6.4 (including) 2.6.4 (including)
Python Python 2.6.5 (including) 2.6.5 (including)
Python Python 2.6.6 (including) 2.6.6 (including)
Python Python 2.6.7 (including) 2.6.7 (including)
Python Python 2.7.1 (including) 2.7.1 (including)
Red Hat Enterprise Linux 4 RedHat python-0:2.3.4-14.10.el4 *
Red Hat Enterprise Linux 5 RedHat python-0:2.4.3-44.el5 *
Red Hat Enterprise Linux 6 RedHat python-0:2.6.6-20.el6 *
Red Hat Enterprise Linux 6 RedHat python-docs-0:2.6.6-2.el6 *
Python2.4 Ubuntu dapper *
Python2.4 Ubuntu hardy *
Python2.5 Ubuntu hardy *
Python2.6 Ubuntu lucid *
Python2.6 Ubuntu maverick *
Python2.6 Ubuntu natty *
Python2.6 Ubuntu upstream *
Python2.7 Ubuntu maverick *
Python2.7 Ubuntu natty *
Python2.7 Ubuntu upstream *
Python3.1 Ubuntu lucid *
Python3.1 Ubuntu maverick *
Python3.1 Ubuntu natty *
Python3.1 Ubuntu upstream *
Python3.2 Ubuntu natty *
Python3.2 Ubuntu upstream *

References