
CVE catalog
CVE-2012-4520
python-django: CVE-2012-4520
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.67% · Oct 25, 2026
The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | fixed |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | fixed |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | fixed |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 1.4.2-1 | not yet assigned | Not reported | [691145] |
| Debian | python-django | source | forky | 1.4.2-1 | not yet assigned | Not reported | [691145] |
| Debian | python-django | source | trixie | 1.4.2-1 | not yet assigned | Not reported | [691145] |
| Debian | python-django | source | bookworm | 1.4.2-1 | not yet assigned | Not reported | [691145] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · bookworm; dsa · python-django · debian · 12
[Debian 13 (Trixie)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u2· all · trixieFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:5.2.16-1~bpo13+1· all · trixie-backportsFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
3:4.2.28-0+deb13u1· all · trixie-securityFixed · Fixed:
1.4.2-1dsa · python-django · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-4520]
- [https://osv.dev/vulnerability/DSA-2634-1]
- [https://security-tracker.debian.org/tracker/CVE-2012-4520]
- [https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-4520.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]