{"id":"CVE-2024-41989","published":"2024-08-07T00:00:00Z","modified":"2025-11-04T16:13:40Z","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 floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.","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.0168,"percentile":0.77319,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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":20.7,"factors":[{"name":"EPSS percentile","points":15.46},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-08T19:34:43.299369Z","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-jh75-99hh-qvx9","PYSEC-2024-67"],"provenance":"source"}],"summary":{"text":"The floatformat template filter in Django 5.0 (before 5.0.8) and Django 4.2 (before 4.2.15) contains an uncontrolled resource consumption flaw that causes significant memory use when it processes a string representation of a number in scientific notation with a large exponent. An attacker with network access can trigger this by supplying such input, which requires no authentication, no user interaction, and no particular configuration beyond the affected Django versions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:22Z"},"euvd":{"id":"EUVD-2024-0044","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-django-cve-2021-45116","parents":[{"from":"CVE-2021-45116","to":"CVE-2024-41989","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/template/defaultfilters.py"],"commits":["https://github.com/django/django/commit/2a8ec7f546d6d5806e221ec948c5146b55bd7489","https://github.com/django/django/commit/c7fe895bca06daf12cc1670b56eaf72a1ef27a16","https://github.com/django/django/commit/27900fe56f3d3cabb4aeb6ccb82f92bab29073a8","https://github.com/django/django/commit/fc76660f589ac07e45e9cd34ccb8087aeb11904b"],"basis":"rarely changed file"}]}]}}