CVE-2024-41989
HIGH 7.5CVSS 3.1Django memory consumption vulnerability
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.
- Published
- 7 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- BIT-django-2024-41989GHSA-jh75-99hh-qvx9PYSEC-2024-67
- Sources
- NVDJSONOSV GHSA-jh75-99hh-qvx9JSONOSV PYSEC-2024-67JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.15 | 4.2.15 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.0, < 5.0.8 | 5.0.8 |
| OSV | PyPI | django | >= 5.0, < 5.0.8 | 5.0.8 |
| OSV | PyPI | django | >= 4.2, < 4.2.15 | 4.2.15 |
| OSV | PyPI | django | >= 5.0, < 5.0.8; >= 4.2, < 4.2.15 | 5.0.8, 4.2.15 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory, WEB
- https://groups.google.com/forum/#%21forum/django-announce · Not Applicable, WEB
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://security.netapp.com/advisory/ntap-20240905-0007/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41989 · ADVISORY
- https://github.com/django/django/commit/27900fe56f3d3cabb4aeb6ccb82f92bab29073a8 · WEB
- https://github.com/django/django/commit/fc76660f589ac07e45e9cd34ccb8087aeb11904b · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-67.yaml · WEB
- https://github.com/advisories/GHSA-jh75-99hh-qvx9 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 7 Aug 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Aug 2024)