Vulnerability in Python
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.036, 89.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 2.0, 2.0.1, 2.1
Weakness classification (CWE)
References
- [oss-security] 20110916 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws (mailing-list)
- MDVSA-2011:096 (vendor-advisory)
- SUSE-SR:2011:009 (vendor-advisory)
- hg.python.org/cpython/rev/b2934d98dac1/ (Patch)
- USN-1592-1 (vendor-advisory)
- hg.python.org/cpython/rev/96a6c128822b/ (Patch)
- secunia.com/advisories/51040 (third-party-advisory)
- secunia.com/advisories/50858 (third-party-advisory)
- APPLE-SA-2011-10-12-3 (vendor-advisory)
- bugs.python.org/issue11662 (Patch)