GitHub Advisory Database
GHSA-jh75-99hh-qvx9
Django memory consumption vulnerability
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 5.0 before 5.0.8 (fixed in 5.0.8) |
| PyPI | django | From 4.2 before 4.2.15 (fixed in 4.2.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-41989
- https://github.com/django/django/commit/27900fe56f3d3cabb4aeb6ccb82f92bab29073a8
- https://github.com/django/django/commit/fc76660f589ac07e45e9cd34ccb8087aeb11904b
- https://docs.djangoproject.com/en/dev/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2024-67.yaml
- https://groups.google.com/forum/#%21forum/django-announce
- https://security.netapp.com/advisory/ntap-20240905-0007
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases