CVE-2024-41990
Django vulnerable to a 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 are subject to a potential denial-of-service attack via very large inputs with a specific sequence of 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 | pkg:pypi/django@5.0.8, pkg:pypi/django@4.2.15, 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 | 4.2, 5.0, 4.2 |
| PyPI | Django | 5.0, 4.2 |
| n/a | n/a | * |
Timeline
- Aug 7, 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)
- Nov 30, 2024 PoC Published
- Mar 9, 2026 Security Advisory (15 in total, the first dated here)
- 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-41990
vulnetix vdb fixes CVE-2024-41990
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-41990/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-41990 advisory
- https://github.com/advisories/GHSA-795c-9xpc-xw6g advisory
- https://github.com/django/django/commit/7b7b909579c8311c140c89b8a9431bf537febf93 patch
- https://github.com/django/django/commit/d0a82e26a74940bf0c78204933c3bdd6a283eb88 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-68.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