CVE-2012-4520

medium
Published 2022-05-17 ยท Modified 2023-11-08
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.4

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1.4.2-1
sid Fixed 1.4.2-1
forky Fixed 1.4.2-1
bullseye Fixed 1.4.2-1
bookworm Fixed 1.4.2-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=1.3,<1.3.41.3.4
python PyPIdjango>=1.4,<1.4.21.4.2
python PyPIdjango<92d3430f12171f16f566c9050c40feefb830a4a3||>=1.4,<1.4.29305c0e12d43c4df999c3301a1f0c742264a657e

Application impact

VendorProductVersionsFixed
djangoprojectdjango1.3
djangoprojectdjango1.3.1
djangoprojectdjango1.3.2
djangoprojectdjango1.3.3
djangoprojectdjango1.4
djangoprojectdjango1.4.1

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.