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.
Published: 2011-05-24
Score: 6.4 Medium
EPSS: 1.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-25-1 python2.6 security update
EUVD EUVD EUVD-2011-1522 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.
Ubuntu USN Ubuntu USN USN-1314-1 Python 3 vulnerabilities
Ubuntu USN Ubuntu USN USN-1592-1 Python 2.7 vulnerabilities
Ubuntu USN Ubuntu USN USN-1596-1 Python 2.6 vulnerabilities
Ubuntu USN Ubuntu USN USN-1613-1 Python 2.5 vulnerabilities
Ubuntu USN Ubuntu USN USN-1613-2 Python 2.4 vulnerabilities
History

No history.

Subscriptions

Python Python
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T22:28:41.789Z

Reserved: 2011-03-28T00:00:00.000Z

Link: CVE-2011-1521

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2011-05-24T23:55:02.840

Modified: 2026-04-29T01:13:23.040

Link: CVE-2011-1521

cve-icon Redhat

Severity : Moderate

Publid Date: 2011-03-24T00:00:00Z

Links: CVE-2011-1521 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses