Debian Codegraph @

docs/releases/4.0.6.txt

raw
1 ==========================
2 Django 4.0.6 release notes
3 ==========================
4
5 *July 4, 2022*
6
7 Django 4.0.6 fixes a security issue with severity "high" in 4.0.5.
8
9 CVE-2022-34265: Potential SQL injection via ``Trunc(kind)`` and ``Extract(lookup_name)`` arguments
10 ==================================================================================================
11
12 :class:`Trunc() <django.db.models.functions.Trunc>` and
13 :class:`Extract() <django.db.models.functions.Extract>` database functions were
14 subject to SQL injection if untrusted data was used as a
15 ``kind``/``lookup_name`` value.
16
17 Applications that constrain the lookup name and kind choice to a known safe
18 list are unaffected.