Back
CVE-2012-4520
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…
Medium6.4EPSS 3.7%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-2655-q453-22f9 (opens in a new tab)
References (17)
- [oss-security] 20121029 Re: CVE Request: Django (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 1027708 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 86493 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 51314 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2012-16440 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-1757-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-2634 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.djangoproject.com/weblog/2012/oct/17/security/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2012-16417 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e (opens in a new tab)x_refsource_CONFIRMx_transferred
- 51033 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=865164 (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2012-16406 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-1632-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2655-q453-22f9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .