CVE-2024-53908
Djangoproject Django SQL injection
- Published6 Dec 2024
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.)
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2024-53908 being actively exploited?
CVE-2024-53908 is not in the CISA KEV catalog. Its EPSS exploit probability is 1.42%.
How severe is CVE-2024-53908?
CVE-2024-53908 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 1.42% probability of exploitation.
Which products are affected by CVE-2024-53908?
Affected products include Djangoproject Django.
How do I fix CVE-2024-53908?
Upgrade affected software to a fixed version, for example Djangoproject Django 4.2.17 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2024-53908 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.