GitHub Advisory Database
GHSA-r836-hh6v-rg5g
Django vulnerable to denial-of-service attack
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 5.0 before 5.0.8 (fixed in 5.0.8) |
| PyPI | django | From 4.2 before 4.2.15 (fixed in 4.2.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41991
- https://github.com/django/django/commit/523da8771bce321023f490f70d71a9e973ddc927
- https://github.com/django/django/commit/efea1ef7e2190e3f77ca0651b5458297bc0f6a9f
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-69.yaml
- https://groups.google.com/forum/#%21forum/django-announce
- https://security.netapp.com/advisory/ntap-20240905-0007
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases