CVE-2024-53908

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.)
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

History

09 Jun 2025, 19:51

Type Values Removed Values Added
CPE cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
First Time Djangoproject
Djangoproject django
References () https://docs.djangoproject.com/en/dev/releases/security/ - () https://docs.djangoproject.com/en/dev/releases/security/ - Patch, Vendor Advisory
References () https://groups.google.com/g/django-announce - () https://groups.google.com/g/django-announce - Release Notes
References () https://www.openwall.com/lists/oss-security/2024/12/04/3 - () https://www.openwall.com/lists/oss-security/2024/12/04/3 - Mailing List, Third Party Advisory

06 Dec 2024, 17: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')