ADVISORIES

PyPA Advisory Database

PYSEC-2016-18

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.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.8.16 (fixed in 1.8.16)
From 1.9 before 1.9.11 (fixed in 1.9.11)
From 1.10 before 1.10.3 (fixed in 1.10.3)

References