Servers and applications
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.
- Severity
- Medium 6.4
- Published
- 24 May 2011
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 3.6% in the next 30 daysHigher than 89% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- CWE-399
- Attack
- Over the network · No login needed
- Attacker can
- Read some data · Slow it down
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:P- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
PythonServers and applications · cpe:a:python:python |
All 39 release lines
|