CVE Vulnerabilities

CVE-2011-1521

Published: May 24, 2011 | Modified: Apr 11, 2025
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
PythonPython2.0 (including)2.0 (including)
PythonPython2.0.1 (including)2.0.1 (including)
PythonPython2.1 (including)2.1 (including)
PythonPython2.1.1 (including)2.1.1 (including)
PythonPython2.1.2 (including)2.1.2 (including)
PythonPython2.1.3 (including)2.1.3 (including)
PythonPython2.2 (including)2.2 (including)
PythonPython2.2.1 (including)2.2.1 (including)
PythonPython2.2.2 (including)2.2.2 (including)
PythonPython2.2.3 (including)2.2.3 (including)
PythonPython2.3.1 (including)2.3.1 (including)
PythonPython2.3.2 (including)2.3.2 (including)
PythonPython2.3.3 (including)2.3.3 (including)
PythonPython2.3.4 (including)2.3.4 (including)
PythonPython2.3.5 (including)2.3.5 (including)
PythonPython2.3.7 (including)2.3.7 (including)
PythonPython2.4.1 (including)2.4.1 (including)
PythonPython2.4.2 (including)2.4.2 (including)
PythonPython2.4.3 (including)2.4.3 (including)
PythonPython2.4.4 (including)2.4.4 (including)
PythonPython2.4.6 (including)2.4.6 (including)
PythonPython2.5.1 (including)2.5.1 (including)
PythonPython2.5.2 (including)2.5.2 (including)
PythonPython2.5.3 (including)2.5.3 (including)
PythonPython2.5.4 (including)2.5.4 (including)
PythonPython2.6.1 (including)2.6.1 (including)
PythonPython2.6.4 (including)2.6.4 (including)
PythonPython2.6.5 (including)2.6.5 (including)
PythonPython2.6.6 (including)2.6.6 (including)
PythonPython2.6.7 (including)2.6.7 (including)
PythonPython2.7.1 (including)2.7.1 (including)
Red Hat Enterprise Linux 4RedHatpython-0:2.3.4-14.10.el4*
Red Hat Enterprise Linux 5RedHatpython-0:2.4.3-44.el5*
Red Hat Enterprise Linux 6RedHatpython-0:2.6.6-20.el6*
Red Hat Enterprise Linux 6RedHatpython-docs-0:2.6.6-2.el6*
Python2.4Ubuntudapper*
Python2.4Ubuntuhardy*
Python2.5Ubuntuhardy*
Python2.6Ubuntulucid*
Python2.6Ubuntumaverick*
Python2.6Ubuntunatty*
Python2.6Ubuntuupstream*
Python2.7Ubuntumaverick*
Python2.7Ubuntunatty*
Python2.7Ubuntuupstream*
Python3.1Ubuntulucid*
Python3.1Ubuntumaverick*
Python3.1Ubuntunatty*
Python3.1Ubuntuupstream*
Python3.2Ubuntunatty*
Python3.2Ubuntuupstream*

References