Debian Codegraph @

docs/releases/4.2.15.txt

raw
1 ===========================
2 Django 4.2.15 release notes
3 ===========================
4
5 *August 6, 2024*
6
7 Django 4.2.15 fixes three security issues with severity "moderate", one
8 security issue with severity "high", and a regression in 4.2.14.
9
10 CVE-2024-41989: Memory exhaustion in ``django.utils.numberformat.floatformat()``
11 ================================================================================
12
13 If :tfilter:`floatformat` received a string representation of a number in
14 scientific notation with a large exponent, it could lead to significant memory
15 consumption.
16
17 To avoid this, decimals with more than 200 digits are now returned as is.
18
19 CVE-2024-41990: Potential denial-of-service vulnerability in ``django.utils.html.urlize()``
20 ===========================================================================================
21
22 :tfilter:`urlize` and :tfilter:`urlizetrunc` were subject to a potential
23 denial-of-service attack via very large inputs with a specific sequence of
24 characters.
25
26 CVE-2024-41991: Potential denial-of-service vulnerability in ``django.utils.html.urlize()`` and ``AdminURLFieldWidget``
27 =======================================================================================================================
28
29 :tfilter:`urlize`, :tfilter:`urlizetrunc`, and ``AdminURLFieldWidget`` were
30 subject to a potential denial-of-service attack via certain inputs with a very
31 large number of Unicode characters.
32
33 CVE-2024-42005: Potential SQL injection in ``QuerySet.values()`` and ``values_list()``
34 ======================================================================================
35
36 :meth:`.QuerySet.values` and :meth:`~.QuerySet.values_list` methods on models
37 with a ``JSONField`` were subject to SQL injection in column aliases, via a
38 crafted JSON object key as a passed ``*arg``.
39
40 Bugfixes
41 ========
42
43 * Fixed a regression in Django 4.2.14 that caused a crash in
44 ``LocaleMiddleware`` when processing a language code over 500 characters
45 (:ticket:`35627`).