CVE-2023-23969
Django contains Uncontrolled Resource Consumption via cached header
Also known as BIT-django-2023-23969, GHSA-q2jf-h9jm-m7p4, PYSEC-2023-12
Mitigation
- Upgrade django to one of 3.2.17, 4.0.9, 4.1.6 (or later in the same release line).
Who should check
- Projects that depend on PyPI package django (>= 3.2a1, < 3.2.17)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- django >= 3.2a1, < 3.2.17
- Fixed in
- 3.2.17, 4.0.9, 4.1.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.51% chance of exploitation in 30 days (percentile 75, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI django | >= 3.2a1, < 3.2.17 | 3.2.17, 4.0.9, 4.1.6 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-23969. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-23969.md Affected: django >= 3.2a1, < 3.2.17 Fixed in: 3.2.17, 4.0.9, 4.1.6 Steps: 1. Search this machine and project for django (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
- https://nvd.nist.gov/vuln/detail/CVE-2023-23969
- https://github.com/advisories/GHSA-q2jf-h9jm-m7p4
Patches
Other
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.debian.org/debian-lts-announce/2023/02/msg00000.html
- https://security.netapp.com/advisory/ntap-20230302-0007/
- https://docs.djangoproject.com/en/4.1/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-12.yaml
- https://groups.google.com/forum/#!forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
- https://security.netapp.com/advisory/ntap-20230302-0007
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases
FAQ
Is CVE-2023-23969 being exploited?
There is no confirmed exploitation: CVE-2023-23969 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-23969?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-23969?
django >= 3.2a1, < 3.2.17.
Is there a fix for CVE-2023-23969?
Yes. Fixed in 3.2.17, 4.0.9, 4.1.6. Upgrade django to one of 3.2.17, 4.0.9, 4.1.6 (or later in the same release line).
How do I check if I'm affected by CVE-2023-23969?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.