Security mailing lists by PureSourceCode

CVE-2011-1521

MEDIUM 6.4CVSS 2.0

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
24 May 2011
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-399
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:2.0:*:*:*:*:*:*:*
= 2.0
NVD python python
cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:*
= 2.0.1
NVD python python
cpe:2.3:a:python:python:2.1:*:*:*:*:*:*:*
= 2.1
NVD python python
cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD python python
cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:*
= 2.1.2
NVD python python
cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:*
= 2.1.3
NVD python python
cpe:2.3:a:python:python:2.2:*:*:*:*:*:*:*
= 2.2
NVD python python
cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:*
= 2.2.1
NVD python python
cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:*
= 2.2.2
NVD python python
cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*
= 2.2.3
NVD python python
cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:*
= 2.3.1
NVD python python
cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:*
= 2.3.2
NVD python python
cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:*
= 2.3.3
NVD python python
cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:*
= 2.3.4
NVD python python
cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:*
= 2.3.5
NVD python python
cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*
= 2.3.7
NVD python python
cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:*
= 2.4.1
NVD python python
cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:*
= 2.4.2
NVD python python
cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:*
= 2.4.3
NVD python python
cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:*
= 2.4.4
NVD python python
cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*
= 2.4.6
NVD python python
cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*
= 2.5.1
NVD python python
cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:*
= 2.5.2
NVD python python
cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:*
= 2.5.3
NVD python python
cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:*
= 2.5.4
NVD python python
cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*
= 2.6.1
NVD python python
cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*
= 2.6.4
NVD python python
cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*
= 2.6.5
NVD python python
cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*
= 2.6.6
NVD python python
cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:*
= 2.6.7
NVD python python
cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*
= 2.7.1
NVD python python
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
= 3.0
NVD python python
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*
= 3.0.1
NVD python python
cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*
= 3.1
NVD python python
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*
= 3.1.1
NVD python python
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*
= 3.1.2
NVD python python
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*
= 3.1.3
NVD python python
cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*
= 3.2
NVD python python
cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*
= 3.2

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 24 May 2011)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.