CVE-2024-53908
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
06/12/2024
Last modified:
09/06/2025
Description
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.)
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 4.2 (including) | 4.2.17 (excluding) |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 5.0 (including) | 5.0.10 (excluding) |
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 5.1 (including) | 5.1.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page