mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks against JSON fields.
Thanks Eyal (eyalgabay) for the report.
This commit is contained in:
parent
5f1757142f
commit
c87bfaacf8
5 changed files with 38 additions and 2 deletions
|
@ -30,6 +30,13 @@ CVE-2024-41991: Potential denial-of-service vulnerability in ``django.utils.html
|
|||
subject to a potential denial-of-service attack via certain inputs with a very
|
||||
large number of Unicode characters.
|
||||
|
||||
CVE-2024-42005: Potential SQL injection in ``QuerySet.values()`` and ``values_list()``
|
||||
======================================================================================
|
||||
|
||||
:meth:`.QuerySet.values` and :meth:`~.QuerySet.values_list` methods on models
|
||||
with a ``JSONField`` were subject to SQL injection in column aliases, via a
|
||||
crafted JSON object key as a passed ``*arg``.
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
|
|
|
@ -30,6 +30,13 @@ CVE-2024-41991: Potential denial-of-service vulnerability in ``django.utils.html
|
|||
subject to a potential denial-of-service attack via certain inputs with a very
|
||||
large number of Unicode characters.
|
||||
|
||||
CVE-2024-42005: Potential SQL injection in ``QuerySet.values()`` and ``values_list()``
|
||||
======================================================================================
|
||||
|
||||
:meth:`.QuerySet.values` and :meth:`~.QuerySet.values_list` methods on models
|
||||
with a ``JSONField`` were subject to SQL injection in column aliases, via a
|
||||
crafted JSON object key as a passed ``*arg``.
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue