CVE-2024-42005
HIGHDjango 4.2-4.2.14 and 5.0-5.0.7 - SQL Injection via JSONField QuerySet.values() Column Alias
Title source: llmDescription
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
References (4)
Core 4
Core References
Patch, Vendor Advisory
https://docs.djangoproject.com/en/dev/releases/security/
Not Applicable
https://groups.google.com/forum/#%21forum/django-announce
Vendor Advisory
https://security.netapp.com/advisory/ntap-20240905-0007/
Scores
CVSS v3
7.3
EPSS
0.0033
EPSS Percentile
55.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-89
Status
published
Products (2)
djangoproject/django
4.2 - 4.2.15
pypi/Django
5.0 - 5.0.8PyPI
Published
Aug 07, 2024
Tracked Since
Feb 18, 2026