Commit dae83a2 1 parent 62988af commit dae83a2 Copy full SHA for dae83a2
File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,16 @@ Django 3.1.13 release notes
6
6
7
7
Django 3.1.13 fixes a security issues with severity "high" in 3.1.12.
8
8
9
- ...
9
+ CVE-2021-35042: Potential SQL injection via unsanitized ``QuerySet.order_by()`` input
10
+ =====================================================================================
11
+
12
+ Unsanitized user input passed to ``QuerySet.order_by()`` could bypass intended
13
+ column reference validation in path marked for deprecation resulting in a
14
+ potential SQL injection even if a deprecation warning is emitted.
15
+
16
+ As a mitigation the strict column reference validation was restored for the
17
+ duration of the deprecation period. This regression appeared in 3.1 as a side
18
+ effect of fixing :ticket:`31426`.
19
+
20
+ The issue is not present in the main branch as the deprecated path has been
21
+ removed.
Original file line number Diff line number Diff line change @@ -4,8 +4,22 @@ Django 3.2.5 release notes
4
4
5
5
*July 1, 2021*
6
6
7
- Django 3.2.5 fixes several bugs in 3.2.4. Also, the latest string translations
8
- from Transifex are incorporated.
7
+ Django 3.2.5 fixes a security issue with severity "high" and several bugs in
8
+ 3.2.4. Also, the latest string translations from Transifex are incorporated.
9
+
10
+ CVE-2021-35042: Potential SQL injection via unsanitized ``QuerySet.order_by()`` input
11
+ =====================================================================================
12
+
13
+ Unsanitized user input passed to ``QuerySet.order_by()`` could bypass intended
14
+ column reference validation in path marked for deprecation resulting in a
15
+ potential SQL injection even if a deprecation warning is emitted.
16
+
17
+ As a mitigation the strict column reference validation was restored for the
18
+ duration of the deprecation period. This regression appeared in 3.1 as a side
19
+ effect of fixing :ticket:`31426`.
20
+
21
+ The issue is not present in the main branch as the deprecated path has been
22
+ removed.
9
23
10
24
Bugfixes
11
25
========
You can’t perform that action at this time.
0 commit comments