Advisory

PYSEC-2016-18

Also known as: CVE-2016-9014, GHSA-3f2c-jm6v-cr35

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2016-12-09 20:59 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.8.16, introduced 1.9, fixed 1.9.11, introduced 1.10, fixed 1.10.3 (ecosystem)

Fixed versions

1.8.16, 1.9.11, 1.10.3

Fix

  • Fixed version 1.8.16
    pip install --upgrade django==1.8.16
  • Fixed version 1.9.11
    pip install --upgrade django==1.9.11
  • Fixed version 1.10.3
    pip install --upgrade django==1.10.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences