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.
2011-05-24T23:55:02.840
2025-04-11T00:51:21.963
Deferred
CVSSv2: 6.4 (MEDIUM)
AV:N/AC:L/Au:N/C:P/I:N/A:P
10.0
4.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | python | python | 2.0 | Yes |
Application | python | python | 2.0.1 | Yes |
Application | python | python | 2.1 | Yes |
Application | python | python | 2.1.1 | Yes |
Application | python | python | 2.1.2 | Yes |
Application | python | python | 2.1.3 | Yes |
Application | python | python | 2.2 | Yes |
Application | python | python | 2.2.1 | Yes |
Application | python | python | 2.2.2 | Yes |
Application | python | python | 2.2.3 | Yes |
Application | python | python | 2.3.1 | Yes |
Application | python | python | 2.3.2 | Yes |
Application | python | python | 2.3.3 | Yes |
Application | python | python | 2.3.4 | Yes |
Application | python | python | 2.3.5 | Yes |
Application | python | python | 2.3.7 | Yes |
Application | python | python | 2.4.1 | Yes |
Application | python | python | 2.4.2 | Yes |
Application | python | python | 2.4.3 | Yes |
Application | python | python | 2.4.4 | Yes |
Application | python | python | 2.4.6 | Yes |
Application | python | python | 2.5.1 | Yes |
Application | python | python | 2.5.2 | Yes |
Application | python | python | 2.5.3 | Yes |
Application | python | python | 2.5.4 | Yes |
Application | python | python | 2.6.1 | Yes |
Application | python | python | 2.6.4 | Yes |
Application | python | python | 2.6.5 | Yes |
Application | python | python | 2.6.6 | Yes |
Application | python | python | 2.6.7 | Yes |
Application | python | python | 2.7.1 | Yes |
Application | python | python | 3.0 | Yes |
Application | python | python | 3.0.1 | Yes |
Application | python | python | 3.1 | Yes |
Application | python | python | 3.1.1 | Yes |
Application | python | python | 3.1.2 | Yes |
Application | python | python | 3.1.3 | Yes |
Application | python | python | 3.2 | Yes |
Application | python | python | 3.2 | Yes |