urllib redirect
Published May 24, 2011 · Updated Nov 3, 2026
Original summary
Normalized public record · Updated Nov 3, 2026
urllib redirect
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- [oss-security] 20110916 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws ↗
- MDVSA-2011:096 ↗
- SUSE-SR:2011:009 ↗
- hg.python.org ↗
- USN-1592-1 ↗
- hg.python.org ↗
- 51040 ↗
- 50858 ↗
- APPLE-SA-2011-10-12-3 ↗
- bugs.python.org ↗
- [oss-security] 20110324 CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes ↗
- [oss-security] 20110328 Re: CVE Request -- Python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes ↗
Record history
Published May 24, 2011 · Last refreshed Nov 3, 2026