Description
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.
Metrics
CVSS 2.0 6.4/10
AV:N/AC:L/Au:N/C:P/I:N/A:PWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- May 24, 2011
- Last modified
- Jun 16, 2026
- NVD status
- Modified