CVEvulnerability

CVE-2024-53908

9.8 CRITICAL Published 2024-12-06 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-12-06
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89

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

Affected configurations

• djangoproject django (>= 4.2 < 4.2.17) • djangoproject django (>= 5.0 < 5.0.10) • djangoproject django (>= 5.1 < 5.1.4)

Related

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References