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.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.041 · newest: 0.036 · change: -0.005
Affected products
- Python — versions 2.0, 2.0.1, 2.1
Weakness classification (CWE)
References
- openwall.com/lists/oss-security/2011/09/15/5 (mailing-list)
- www.mandriva.com/security/advisories (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html (vendor-advisory)
- hg.python.org/cpython/rev/b2934d98dac1/ (Patch)
- www.ubuntu.com/usn/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)
- lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html (vendor-advisory)
- bugs.python.org/issue11662 (Patch)