VDB
Sign up
—

PYSEC-2012-7

Quick fix

PYSEC-2012-7 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=9305c0e12d43c4df999c3301a1f0c742264a657e'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 9305c0e12d43c4df999c3301a1f0c742264a657e
Fixpip install --upgrade 'django>=9305c0e12d43c4df999c3301a1f0c742264a657e'

References