CVE-2024-41989
JSON

7.5high

Django memory consumption vulnerability

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.20% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-jh75-99hh-qvx9BIT-DJANGO-2024-41989PYSEC-2024-67

Description

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.

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-400

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 floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.

NVD (es)

Se descubrió un problema en Django 5.0 anterior a 5.0.8 y 4.2 anterior a 4.2.15. El filtro de plantilla de formato flotante está sujeto a un consumo de memoria significativo cuando se le proporciona una representación de cadena de un número en notación científica con un exponente grande.

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-41989advisory, web
https://github.com/django/django/commit/27900fe56f3d3cabb4aeb6ccb82f92bab29073a8web
https://github.com/django/django/commit/fc76660f589ac07e45e9cd34ccb8087aeb11904bweb
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-67.yamlweb
https://security.netapp.com/advisory/ntap-20240905-0007web
https://www.djangoproject.com/weblog/2024/aug/06/security-releasesweb

Sources

SourceRecordLicence
CVE ListCVE-2024-41989 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-jh75-99hh-qvx9 changed 2025-11-04CC-BY-4.0
NVDCVE-2024-41989 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-67 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2024-41989 changed 2026-09-08Apache-2.0