CVE-2024-24680
Django denial-of-service attack in the intcomma template filter
Reported by mitre · Published February 6, 2024
Django is fixed in 5.0.2, 4.2.10 and 3.2.24 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Django | PyPI | 5.0.2, 4.2.10, 3.2.24 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| wolfi | py3-django | 0 |
| PyPI | Django | 3.2, 4.2, 5.0 |
| chainguard | py3-django | 0 |
Timeline
- Feb 6, 2024 CVE Published
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (18 in total, the first dated here)
- Mar 10, 2026 Security Advisory (42 in total, the first dated here)
- Sep 16, 2026 CVE Updated
- Nov 22, 2026 Distribution Patch (37 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-24680
vulnetix vdb fixes CVE-2024-24680
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-24680/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2024-5c7fb64c74 vendor-advisory
- FEDORA-2024-2ec03ca8cb vendor-advisory
- FEDORA-2024-84fbbbb914 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-24680 advisory
- https://github.com/advisories/GHSA-xxj9-f6rv-m3x4 advisory
- https://github.com/django/django/commit/16a8fe18a3b81250f4fa57e3f93f0599dc4895bc patch
- https://github.com/django/django/commit/55519d6cf8998fe4c8f5c8abffc2b10a7c3d14e9 patch
- https://github.com/django/django/commit/572ea07e84b38ea8de0551f4b4eda685d91d09d2 patch
- https://github.com/django/django/commit/c1171ffbd570db90ca206c30f8e2b9f691243820 patch
- https://docs.djangoproject.com/en/5.0/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-28.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D2JIRXEDP4ZET5KFMAPPYSK663Q52NEX url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN2PLJGYSAAG5KUVIUFJYKD3BLQ4OSN6 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://www.djangoproject.com/weblog/2024/feb/06/security-releases url
…and 2 more