{"title":"Django 3.2.23 release notes","version":"dev","locale":"en","docname":"releases/3.2.23","url":"/en/dev/releases/3.2.23/","canonical":"https://djangodocs.dev/en/dev/releases/3.2.23/","summary":"Django 3.2.23 fixes a security issue with severity “moderate” in 3.2.22. The NFKC normalization is slow on Windows.","html":"<h1>Django 3.2.23 release notes<a class=\"heading-anchor\" href=\"#django-3-2-23-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>November 1, 2023</em></p>\n<p>Django 3.2.23 fixes a security issue with severity “moderate” in 3.2.22.</p>\n<section id=\"cve-2023-46695-potential-denial-of-service-vulnerability-in-usernamefield-on-windows\">\n<h2>CVE-2023-46695: Potential denial of service vulnerability in <code class=\"docutils literal notranslate\">UsernameField</code> on Windows<a class=\"heading-anchor\" href=\"#cve-2023-46695-potential-denial-of-service-vulnerability-in-usernamefield-on-windows\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>The <a class=\"reference external\" href=\"https://docs.python.org/3/library/unicodedata.html#unicodedata.normalize\" title=\"(in Python v3.14)\"><code class=\"xref py py-func docutils literal notranslate\">NFKC normalization</code></a> is slow on\nWindows. As a consequence, <code class=\"docutils literal notranslate\">django.contrib.auth.forms.UsernameField</code> was\nsubject to a potential denial of service attack via certain inputs with a very\nlarge number of Unicode characters.</p>\n<p>In order to avoid the vulnerability, invalid values longer than\n<code class=\"docutils literal notranslate\">UsernameField.max_length</code> are no longer normalized, since they cannot pass\nvalidation anyway.</p>\n</section>","rootId":"django-3-2-23-release-notes","toc":[{"title":"CVE-2023-46695: Potential denial of service vulnerability in UsernameField on Windows","anchor":"cve-2023-46695-potential-denial-of-service-vulnerability-in-usernamefield-on-windows","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/3.2.24","title":"Django 3.2.24 release notes","url":"/en/dev/releases/3.2.24/"},"next":{"docname":"releases/3.2.22","title":"Django 3.2.22 release notes","url":"/en/dev/releases/3.2.22/"},"formats":{"html":"/en/dev/releases/3.2.23/","markdown":"/en/dev/releases/3.2.23.md","json":"/en/dev/releases/3.2.23.json"},"source":"https://github.com/django/django/blob/main/docs/releases/3.2.23.txt","official":"https://docs.djangoproject.com/en/dev/releases/3.2.23/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","3.2"],"inLocales":["en"]}