CVE-2024-41991
Django vulnerable to denial-of-service attack
Reported by mitre · Published August 7, 2024
django is fixed in 5.0.8 and 4.2.15 (PyPI)
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.
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.8, 4.2.15 |
| py3-django | Alpine | 4.2.16-r0 |
| django | Bitnami | 5.0.8, 4.2.15 |
| django | djangoproject | 5.0.8, 4.2.15 |
| django | Bitnami | 5.0.8, 4.2.15 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| djangoproject | django | |
| alpine | py3-django | 0 |
| djangoproject | django | 5.0, 4.2 |
| n/a | n/a | * |
| PyPI | Django | 5.0, 4.2 |
Timeline
- Aug 6, 2024 CVE Published
- Aug 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (19 in total, the first dated here)
- Mar 9, 2026 Security Advisory (15 in total, the first dated here)
- Jul 13, 2026 CVE Updated
- Aug 10, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-41991
vulnetix vdb fixes CVE-2024-41991
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-41991/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41991 advisory
- https://github.com/advisories/GHSA-r836-hh6v-rg5g advisory
- https://github.com/django/django/commit/523da8771bce321023f490f70d71a9e973ddc927 patch
- https://github.com/django/django/commit/efea1ef7e2190e3f77ca0651b5458297bc0f6a9f patch
- https://docs.djangoproject.com/en/dev/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-69.yaml advisory
- https://security.netapp.com/advisory/ntap-20240905-0007 advisory
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases url
- https://security.netapp.com/advisory/ntap-20240905-0007/ url