CVE-2024-41991
JSON

7.5high

Django vulnerable to denial-of-service attack

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.95% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-r836-hh6v-rg5gBIT-DJANGO-2024-41991PYSEC-2024-69

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
djangoproject djangofrom 4.2 before 4.2.15, from 5.0 before 5.0.8CVE List, NVD
django (PyPI)from 5.0 before 5.0.8, from 4.2 before 4.2.15GitHub Advisory Database, PyPA Advisory Database
django (Bitnami)from 4.2.0 before 4.2.15, from 5.0.0 before 5.0.8Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-130CWE-1284CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en Django 5.0 anterior a 5.0.8 y 4.2 anterior a 4.2.15. Los filtros de plantilla urlize y urlizetrunc, y el widget AdminURLFieldWidget, están sujetos a un posible ataque de denegación de servicio a través de ciertas entradas con una gran cantidad de caracteres Unicode.

References

https://docs.djangoproject.com/en/dev/releases/security/advisory, patch, vendor-advisory, web
https://groups.google.com/forum/#%21forum/django-announcenot-applicable, web
https://www.djangoproject.com/weblog/2024/aug/06/security-releases/advisory, article, vendor-advisory
https://security.netapp.com/advisory/ntap-20240905-0007/web
https://nvd.nist.gov/vuln/detail/CVE-2024-41991advisory, web
https://github.com/django/django/commit/523da8771bce321023f490f70d71a9e973ddc927web
https://github.com/django/django/commit/efea1ef7e2190e3f77ca0651b5458297bc0f6a9fweb
https://docs.djangoproject.com/en/dev/releases/securityweb
https://github.com/django/djangopackage
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-69.yamlweb
https://security.netapp.com/advisory/ntap-20240905-0007web
https://www.djangoproject.com/weblog/2024/aug/06/security-releasesweb

Sources

SourceRecordLicence
CVE ListCVE-2024-41991 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-r836-hh6v-rg5g changed 2025-11-04CC-BY-4.0
NVDCVE-2024-41991 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-69 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2024-41991 changed 2026-09-08Apache-2.0