{"id":"CVE-2024-41990","published":"2024-08-07T00:00:00Z","modified":"2025-11-04T16:13:41Z","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 are subject to a potential denial-of-service attack via very large inputs with a specific sequence of 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.01258,"percentile":0.70303,"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.3,"factors":[{"name":"EPSS percentile","points":14.06},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-07T15:20:51.732074Z","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-795c-9xpc-xw6g","PYSEC-2024-68"],"provenance":"source"}],"summary":{"text":"The flaw lies in the urlize() and urlizetrunc() template filters of Django 5.0 before 5.0.8 and Django 4.2 before 4.2.15. An attacker who can supply very large input containing a specific sequence of characters to these filters can trigger a denial-of-service condition, and the attack requires no privileges or user interaction over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:16Z"},"euvd":{"id":"EUVD-2024-0045","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-django-cve-2018-7536","parents":[{"from":"CVE-2018-7536","to":"CVE-2024-41990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/utils/html.py"],"commits":["https://github.com/django/django/commit/1ca63a66ef3163149ad822701273e8a1844192c2","https://github.com/django/django/commit/abf89d729f210c692a50e0ad3f75fb6bec6fae16","https://github.com/django/django/commit/7b7b909579c8311c140c89b8a9431bf537febf93","https://github.com/django/django/commit/d0a82e26a74940bf0c78204933c3bdd6a283eb88"],"basis":"shared function","functions":["trim_punctuation"]},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2024-41990","to":"CVE-2024-45230","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/utils/html.py"],"commits":["https://github.com/django/django/commit/7b7b909579c8311c140c89b8a9431bf537febf93","https://github.com/django/django/commit/d0a82e26a74940bf0c78204933c3bdd6a283eb88","https://github.com/django/django/commit/022ab0a75c76ab2ea31dfcc5f2cf5501e378d397","https://github.com/django/django/commit/813de2672bd7361e9a453ab62cd6e52f96b6525b"],"basis":"shared function","functions":["trim_punctuation"]}]}]}}