{"title":"Django 4.1.6 release notes","version":"dev","locale":"en","docname":"releases/4.1.6","url":"/en/dev/releases/4.1.6/","canonical":"https://djangodocs.dev/en/dev/releases/4.1.6/","summary":"Django 4.1.6 fixes a security issue with severity “moderate” and a bug in 4.1.5.","html":"<h1>Django 4.1.6 release notes<a class=\"heading-anchor\" href=\"#django-4-1-6-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>February 1, 2023</em></p>\n<p>Django 4.1.6 fixes a security issue with severity “moderate” and a bug in\n4.1.5.</p>\n<section id=\"cve-2023-23969-potential-denial-of-service-via-accept-language-headers\">\n<h2>CVE-2023-23969: Potential denial-of-service via <code class=\"docutils literal notranslate\">Accept-Language</code> headers<a class=\"heading-anchor\" href=\"#cve-2023-23969-potential-denial-of-service-via-accept-language-headers\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>The parsed values of <code class=\"docutils literal notranslate\">Accept-Language</code> headers are cached in order to avoid\nrepetitive parsing. This leads to a potential denial-of-service vector via\nexcessive memory usage if large header values are sent.</p>\n<p>In order to avoid this vulnerability, the <code class=\"docutils literal notranslate\">Accept-Language</code> header is now\nparsed up to a maximum length.</p>\n</section>\n<section id=\"bugfixes\">\n<h2>Bugfixes<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Fixed a bug in Django 4.1 that caused a crash of model validation on\n<code class=\"docutils literal notranslate\">UniqueConstraint</code> with ordered expressions (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34291\">#34291</a>).</p></li>\n</ul>\n</section>","rootId":"django-4-1-6-release-notes","toc":[{"title":"CVE-2023-23969: Potential denial-of-service via Accept-Language headers","anchor":"cve-2023-23969-potential-denial-of-service-via-accept-language-headers","children":[]},{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.1.7","title":"Django 4.1.7 release notes","url":"/en/dev/releases/4.1.7/"},"next":{"docname":"releases/4.1.5","title":"Django 4.1.5 release notes","url":"/en/dev/releases/4.1.5/"},"formats":{"html":"/en/dev/releases/4.1.6/","markdown":"/en/dev/releases/4.1.6.md","json":"/en/dev/releases/4.1.6.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.1.6.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.1.6/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1"],"inLocales":["en"]}