ADVISORIES

PyPA Advisory Database

PYSEC-2024-67

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

EcosystemPackageAffected versions
PyPIdjango
From 5.0 before 5.0.8 (fixed in 5.0.8)
From 4.2 before 4.2.15 (fixed in 4.2.15)

References