{"id":"CVE-2024-41991","published":"2024-08-07T00:00:00Z","modified":"2025-11-04T16:13:42Z","title":"An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01326,"percentile":0.71061,"provenance":"source"},"cwes":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":[]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":[]},{"url":"https://www.djangoproject.com/weblog/2024/aug/06/security-releases/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240905-0007/","tags":[]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":14.21},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-07T17:57:11.874865Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=5.0, <5.0.8",">=4.2, <4.2.15"],"patched":["5.0.8","4.2.15"],"from":["GHSA-r836-hh6v-rg5g","PYSEC-2024-69"],"provenance":"source"}],"summary":{"text":"The flaw is in Django versions 5.0 before 5.0.8 and 4.2 before 4.2.15, specifically in the urlize and urlizetrunc template filters and the AdminURLFieldWidget widget, which mishandle certain inputs containing a very large number of Unicode characters. An attacker who can submit such input over the network, without authentication or user interaction, can trigger a denial-of-service condition by exhausting resources during processing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:24Z"},"euvd":{"id":"EUVD-2024-0046","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-django-cve-2020-13596","parents":[{"from":"CVE-2020-13596","to":"CVE-2024-41991","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/contrib/admin/widgets.py"],"commits":["https://github.com/django/django/commit/1f2dd37f6fcefdd10ed44cb233b2e62b520afb38","https://github.com/django/django/commit/6d61860b22875f358fac83d903dc629897934815","https://github.com/django/django/commit/523da8771bce321023f490f70d71a9e973ddc927","https://github.com/django/django/commit/efea1ef7e2190e3f77ca0651b5458297bc0f6a9f"],"basis":"shared function","functions":["get_context"]}]}]}}