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
Link | Resource |
---|---|
https://docs.djangoproject.com/en/dev/releases/security/ | Patch Vendor Advisory |
https://groups.google.com/g/django-announce | Release Notes |
https://www.openwall.com/lists/oss-security/2024/12/04/3 | Mailing List Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
09 Jun 2025, 19:51
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | |
Summary |
|
|
References | () https://docs.djangoproject.com/en/dev/releases/security/ - Patch, Vendor Advisory | |
References | () https://groups.google.com/g/django-announce - Release Notes | |
References | () https://www.openwall.com/lists/oss-security/2024/12/04/3 - Mailing List, Third Party Advisory | |
First Time |
Djangoproject
Djangoproject django |
06 Dec 2024, 17:15
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
CWE | CWE-89 |
06 Dec 2024, 12:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-12-06 12:15
Updated : 2025-06-09 19:51
NVD link : CVE-2024-53908
Mitre link : CVE-2024-53908
CVE.ORG link : CVE-2024-53908
JSON object : View
Products Affected
djangoproject
- django
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')