Advisory

GHSA-3f2c-jm6v-cr35

Also known as: CVE-2016-9014, PYSEC-2016-18

Summary

Django DNS Rebinding Vulnerability

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-17 00:27 UTC
Modified
2024-11-28 05:40 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.8a1, fixed 1.8.16 (ecosystem)

Fixed versions

1.8.16

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.9a1, fixed 1.9.11 (ecosystem)

Fixed versions

1.9.11

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.10a1, fixed 1.10.3 (ecosystem)

Fixed versions

1.10.3

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences