summaryrefslogtreecommitdiff
path: root/docs/releases/2.0.11.txt
blob: 0f8a600344463ce7fed35ba2c0a4fc3a27fdbfd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
===========================
Django 2.0.11 release notes
===========================

*February 11, 2019*

Django 2.0.11 fixes a security issue in 2.0.10.

CVE-2019-6975: Memory exhaustion in ``django.utils.numberformat.format()``
--------------------------------------------------------------------------

If ``django.utils.numberformat.format()`` -- used by ``contrib.admin`` as well
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()``.

To avoid this, decimals with more than 200 digits are now formatted using
scientific notation.