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

*July 4, 2022*

Django 3.2.14 fixes a security issue with severity "high" in 3.2.13.

CVE-2022-34265: Potential SQL injection via ``Trunc(kind)`` and ``Extract(lookup_name)`` arguments
==================================================================================================

:class:`Trunc() <django.db.models.functions.Trunc>` and
:class:`Extract() <django.db.models.functions.Extract>` database functions were
subject to SQL injection if untrusted data was used as a
``kind``/``lookup_name`` value.

Applications that constrain the lookup name and kind choice to a known safe
list are unaffected.