cbcvebase.
CVE-2024-53908
published 2024-12-06

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…

PriorityP356critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.40%
69.0th percentile
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.)

Affected

10 ranges
VendorProductVersion rangeFixed in
debianpython-django< python-django 3:4.2.17-1 (forky)python-django 3:4.2.17-1 (forky)
djangoprojectdjango>= 4.2 < 4.2.174.2.17
djangoprojectdjango>= 4.2 < 4.2.174.2.17
djangoprojectdjango>= 4.2.0 < 4.2.174.2.17
djangoprojectdjango>= 5.0 < 5.0.105.0.10
djangoprojectdjango>= 5.0 < 5.0.105.0.10
djangoprojectdjango>= 5.0.0 < 5.0.105.0.10
djangoprojectdjango>= 5.1 < 5.1.45.1.4
djangoprojectdjango>= 5.1 < 5.1.45.1.4
djangoprojectdjango>= 5.1.0 < 5.1.45.1.4

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.