CVE-2012-4520

NameCVE-2012-4520
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2634-1
NVD severitymedium
Debian Bugs691145

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)jessie1.7.11-1+deb8u3fixed
jessie (security)1.7.11-1+deb8u8fixed
stretch1:1.10.7-2+deb9u6fixed
stretch (security)1:1.10.7-2+deb9u7fixed
buster1:1.11.23-1~deb10u1fixed
buster (security)1:1.11.27-1~deb10u1fixed
bullseye, sid2:2.2.9-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosource(unstable)1.4.2-1691145
python-djangosourcesqueeze1.2.3-3+squeeze5DSA-2634-1

Search for package or bug name: Reporting problems