Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.7
CVE-2023-23969: Django: Large Accept-Language Header Can Cause Memory Issues
CVE-2023-23969 · published 3 years ago
Summary
Django versions 3.2 through 4.1 have a memory-usage issue: if a large language header is sent, it can cause the server to run out of memory. This is a concern for websites that handle requests with large headers. To fix this, update to version 4.1.6 or later, or 3.2.17 or later.
What to do
- Update django software foundation django to version 3.2.17.
- Update django software foundation django to version 4.0.9.
- Update django software foundation django to version 4.1.6.
- Update debian python-django to version 3:3.2.17-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | django software foundation | django |
>= 3.2a1, < 3.2.17 >= 4.0a1, < 4.0.9 >= 4.1a1, < 4.1.6 Fix: upgrade to 3.2.17
|
| – | djangoproject | django |
>= 3.2, < 3.2.17 >= 4.0, < 4.0.9 >= 4.1, < 4.1.6 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
| – | debian | debian_linux |
10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| Debian:12 | debian | python-django |
< 3:3.2.17-1 Fix: upgrade to 3:3.2.17-1
|
Original advisory text
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-o...
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.
References
- https://groups.google.com/forum/#!forum/django-announce
- https://github.com/django/django/commit/4452642f193533e288a52c02efb5bbc766a68f95
- https://github.com/django/django/commit/9d7bd5a56b1ce0576e8e07a8001373576d277942
- https://github.com/django/django/commit/c7e0151fdf33e1b11d488b6f67b94fdf3a30614a
- https://docs.djangoproject.com/en/4.1/releases/security
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://lists.fedoraproject.org/archives/list/[email protected]...
- https://security.netapp.com/advisory/ntap-20230302-0007
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-12.y...
- https://github.com/advisories/GHSA-q2jf-h9jm-m7p4
- https://docs.djangoproject.com/en/4.1/releases/security/ URL
- https://groups.google.com/forum/#%21forum/django-announce URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23969... Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro... Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-23969 Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230302-0007/ Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/02/msg00000.html Third Party Advisory
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases/ Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2023-23969 Vendor Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-400Uncontrolled Resource Consumption
CWE-770Allocation of Resources Without Limits
Timeline
Published1 Feb 2023
Updated21 Oct 2026
First seen6 Mar 2026
Sources
GHSA-q2jf-h9jm-m7p4 · GHSA
CVE-2023-23969 · NVD
CVE-2023-23969 · OSV
DEBIAN-CVE-2023-23969 · OSV
Track software like this
Free during beta