VDB
Sign up
—

PYSEC-2016-18

Quick fix

PYSEC-2016-18 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.8.16'

Details

Django before 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3, when settings.DEBUG is True, allow remote attackers to conduct DNS rebinding attacks by leveraging failure to validate the HTTP Host header against settings.ALLOWED_HOSTS.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References