{"id":"DEBIAN-CVE-2012-4520","details":"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.","modified":"2026-04-28T20:12:03.269792Z","published":"2012-11-18T23:55:01.040Z","upstream":["CVE-2012-4520"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2012-4520"}],"affected":[{"package":{"name":"python-django","ecosystem":"Debian:11","purl":"pkg:deb/debian/python-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4520.json"}},{"package":{"name":"python-django","ecosystem":"Debian:12","purl":"pkg:deb/debian/python-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4520.json"}},{"package":{"name":"python-django","ecosystem":"Debian:13","purl":"pkg:deb/debian/python-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4520.json"}},{"package":{"name":"python-django","ecosystem":"Debian:14","purl":"pkg:deb/debian/python-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-4520.json"}}],"schema_version":"1.7.5"}