mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL injection on PostgreSQL.
This commit is contained in:
@@ -13,3 +13,10 @@ CVE-2022-28346: Potential SQL injection in ``QuerySet.annotate()``, ``aggregate(
|
||||
:meth:`~.QuerySet.extra` methods were subject to SQL injection in column
|
||||
aliases, using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**kwargs`` passed to these methods.
|
||||
|
||||
CVE-2022-28347: Potential SQL injection via ``QuerySet.explain(**options)`` on PostgreSQL
|
||||
=========================================================================================
|
||||
|
||||
:meth:`.QuerySet.explain` method was subject to SQL injection in option names,
|
||||
using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**options`` argument.
|
||||
|
||||
@@ -15,6 +15,13 @@ CVE-2022-28346: Potential SQL injection in ``QuerySet.annotate()``, ``aggregate(
|
||||
aliases, using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**kwargs`` passed to these methods.
|
||||
|
||||
CVE-2022-28347: Potential SQL injection via ``QuerySet.explain(**options)`` on PostgreSQL
|
||||
=========================================================================================
|
||||
|
||||
:meth:`.QuerySet.explain` method was subject to SQL injection in option names,
|
||||
using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**options`` argument.
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
|
||||
@@ -15,6 +15,13 @@ CVE-2022-28346: Potential SQL injection in ``QuerySet.annotate()``, ``aggregate(
|
||||
aliases, using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**kwargs`` passed to these methods.
|
||||
|
||||
CVE-2022-28347: Potential SQL injection via ``QuerySet.explain(**options)`` on PostgreSQL
|
||||
=========================================================================================
|
||||
|
||||
:meth:`.QuerySet.explain` method was subject to SQL injection in option names,
|
||||
using a suitably crafted dictionary, with dictionary expansion, as the
|
||||
``**options`` argument.
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user