{"title":"Django 2.0.11 release notes","version":"dev","locale":"en","docname":"releases/2.0.11","url":"/en/dev/releases/2.0.11/","canonical":"https://djangodocs.dev/en/dev/releases/2.0.11/","summary":"Django 2.0.11 fixes a security issue in 2.0.10. If django.utils.numberformat.format() – used by contrib.admin as well as the floatformat, filesizeformat…","html":"<h1>Django 2.0.11 release notes<a class=\"heading-anchor\" href=\"#django-2-0-11-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>February 11, 2019</em></p>\n<p>Django 2.0.11 fixes a security issue in 2.0.10.</p>\n<section id=\"cve-2019-6975-memory-exhaustion-in-django-utils-numberformat-format\">\n<h2>CVE-2019-6975: Memory exhaustion in <code class=\"docutils literal notranslate\">django.utils.numberformat.format()</code><a class=\"heading-anchor\" href=\"#cve-2019-6975-memory-exhaustion-in-django-utils-numberformat-format\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>If <code class=\"docutils literal notranslate\">django.utils.numberformat.format()</code> – used by <code class=\"docutils literal notranslate\">contrib.admin</code> as well\nas the <code class=\"docutils literal notranslate\">floatformat</code>, <code class=\"docutils literal notranslate\">filesizeformat</code>, and <code class=\"docutils literal notranslate\">intcomma</code> templates filters\n– received a <code class=\"docutils literal notranslate\">Decimal</code> with a large number of digits or a large exponent, it\ncould lead to significant memory usage due to a call to <code class=\"docutils literal notranslate\">'{:f}'.format()</code>.</p>\n<p>To avoid this, decimals with more than 200 digits are now formatted using\nscientific notation.</p>\n</section>","rootId":"django-2-0-11-release-notes","toc":[{"title":"CVE-2019-6975: Memory exhaustion in django.utils.numberformat.format()","anchor":"cve-2019-6975-memory-exhaustion-in-django-utils-numberformat-format","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/2.0.12","title":"Django 2.0.12 release notes","url":"/en/dev/releases/2.0.12/"},"next":{"docname":"releases/2.0.10","title":"Django 2.0.10 release notes","url":"/en/dev/releases/2.0.10/"},"formats":{"html":"/en/dev/releases/2.0.11/","markdown":"/en/dev/releases/2.0.11.md","json":"/en/dev/releases/2.0.11.json"},"source":"https://github.com/django/django/blob/main/docs/releases/2.0.11.txt","official":"https://docs.djangoproject.com/en/dev/releases/2.0.11/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0"],"inLocales":["en"]}