2019-02-07 15:46:53 +01:00
|
|
|
===========================
|
|
|
|
Django 2.0.11 release notes
|
|
|
|
===========================
|
|
|
|
|
|
|
|
*February 11, 2019*
|
|
|
|
|
|
|
|
Django 2.0.11 fixes a security issue in 2.0.10.
|
2019-02-11 11:08:45 +01:00
|
|
|
|
|
|
|
CVE-2019-6975: Memory exhaustion in ``django.utils.numberformat.format()``
|
|
|
|
--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
If ``django.utils.numberformat.format()`` -- used by ``contrib.admin`` as well
|
2019-06-21 07:07:23 +02:00
|
|
|
as the ``floatformat``, ``filesizeformat``, and ``intcomma`` templates filters
|
|
|
|
-- received a ``Decimal`` with a large number of digits or a large exponent, it
|
|
|
|
could lead to significant memory usage due to a call to ``'{:f}'.format()``.
|
2019-02-11 11:08:45 +01:00
|
|
|
|
|
|
|
To avoid this, decimals with more than 200 digits are now formatted using
|
|
|
|
scientific notation.
|