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 trend (30 days)EPSS over the last 30 days for CVE-2011-1521: fell from 0.041 to 0.036.

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