Vulnerability · Published Feb 1, 2023 · Assigned by mitre
CVE-2023-23969
High 7.5
In plain English
A high-severity resource allocation without limits in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 47.4% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-django | 3.2.17-r0 | ALPINE-CVE-2023-23969 |
| Alpine:v3.21 | py3-django | 3.2.17-r0 | ALPINE-CVE-2023-23969 |
| Alpine:v3.22 | py3-django | 3.2.17-r0 | ALPINE-CVE-2023-23969 |
| Alpine:v3.23 | py3-django | 3.2.17-r0 | ALPINE-CVE-2023-23969 |
| Alpine:v3.24 | py3-django | 3.2.17-r0 | ALPINE-CVE-2023-23969 |
| Debian:12 | python-django | 3:3.2.17-1 | DEBIAN-CVE-2023-23969 |
| Debian:13 | python-django | 3:3.2.17-1 | DEBIAN-CVE-2023-23969 |
| Debian:14 | python-django | 3:3.2.17-1 | DEBIAN-CVE-2023-23969 |
| PyPI | django | 4.1.6 | GHSA-q2jf-h9jm-m7p4 |
| PyPI | django | 3.2.17, 4.0.9, 4.1.6 | PYSEC-2023-12 |
| PyPI | django | 4.0.9 | GHSA-q2jf-h9jm-m7p4 |
| PyPI | django | 3.2.17 | GHSA-q2jf-h9jm-m7p4 |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.4 | UBUNTU-CVE-2023-23969 |
| Ubuntu:22.04:LTS | python-django | 2:3.2.12-2ubuntu1.4 | USN-5837-1 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://groups.google.com/forum/#%21forum/django-announce
- https://docs.djangoproject.com/en/4.1/releases/security/
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases/
- [debian-lts-announce] 20230201 [SECURITY] [DLA 3306-1] python-django security update mailing-list
- https://security.netapp.com/advisory/ntap-20230302-0007/
- FEDORA-2023-8fed428c5e vendor-advisory
- FEDORA-2023-a53ab7c969 vendor-advisory