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.

EPSS: 0.041 (89.7th percentile) — read the EPSS interpretation.

Affected products

  • Python — versions 2.0, 2.0.1, 2.1
  • N/a — versions n/a

Weakness classification (CWE)

References