CVE-2024-53908
CRITICALDjango <5.1.4, 5.0 <5.0.10, 4.2 <4.2.17 - SQL Injection
Title source: llmDescription
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)
References (3)
Core 3
Core References
Patch, Vendor Advisory
https://docs.djangoproject.com/en/dev/releases/security/
Release Notes
https://groups.google.com/g/django-announce
Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2024/12/04/3
Scores
CVSS v3
9.8
EPSS
0.0093
EPSS Percentile
76.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-89
Status
published
Products (3)
djangoproject/django
4.2 - 4.2.17
pypi/Django
5.0.0 - 5.0.10PyPI
pypi/django
5.1 - 5.1.4PyPI
Published
Dec 06, 2024
Tracked Since
Feb 18, 2026