CVE-2024-53908

unknown
Published 2024-12-06 · Modified 2025-03-10
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk

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

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-53908

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-53908.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed3:4.2.17-1
debian debiansidfixed3:4.2.17-1
debian debiantrixiefixed3:4.2.17-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=5.0.0,<5.0.105.0.10
python PyPIdjango>=5.1.0,<5.1.45.1.4
python PyPIdjango>=4.2.0,<4.2.174.2.17
python PyPIdjango>=5.1,<5.1.45.1.4
python PyPIdjango>=5.0,<5.0.105.0.10
python PyPIdjango>=4.2,<4.2.174.2.17

References

Verify integrity in audit chain (admin only). AS-IS.