GitHub Advisoryadvisory · PyPI
GHSA-q2jf-h9jm-m7p4 Django contains Uncontrolled Resource Consumption via cached header
HIGH
Official page ↗
- Aliases
- CVE-2023-23969
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-770
- Reviewed
- 2023-02-03
Affected packages
• PyPI Django: >= 3.2a1, < 3.2.17 → fixed in 3.2.17
• PyPI Django: >= 4.0a1, < 4.0.9 → fixed in 4.0.9
• PyPI Django: >= 4.1a1, < 4.1.6 → fixed in 4.1.6
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.
Related
Alias · CVE (1)
- CVE-2023-23969 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-23969 advisory
- https://github.com/django/django/commit/4452642f193533e288a52c02efb5bbc766a68f95 web
- https://github.com/django/django/commit/9d7bd5a56b1ce0576e8e07a8001373576d277942 web
- https://github.com/django/django/commit/c7e0151fdf33e1b11d488b6f67b94fdf3a30614a web
- https://docs.djangoproject.com/en/4.1/releases/security web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-12.yaml web
- https://groups.google.com/forum/#!forum/django-announce web
- https://lists.debian.org/debian-lts-announce/2023/02/msg00000.html web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI web
- https://security.netapp.com/advisory/ntap-20230302-0007 web
- https://www.djangoproject.com/weblog/2023/feb/01/security-releases web