Shellfeed logo Shellfeed

CVE-2024-53908 · CRITICAL (CVSS 9.8)

Summary: 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.

Details

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

Severity

CRITICAL (CVSS 9.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • PyPI django [5.0.0 – 5.0.10]
  • PyPI django [5.1.0 – 5.1.4]
  • PyPI django [4.2.0 – 4.2.17]
  • PyPI django [5.1 – 5.1.4]
  • PyPI django [5.0 – 5.0.10]
  • PyPI django [4.2 – 4.2.17]
  • GIT github.com/django/django [97aa3b7f08f51669e118f3af5ca91026e39664c3 – 1f0356ff2af11a5fa71fb07b4627e10edd170438] [617bcf611f3daa796e4054ba041089ece30a32fc – 3b3a5f4efbf93692557b7f473519bd0ad8f04c6a] [373cb3037fe4e67adbac9ac43340391e859aa957 – 2d4add11fd57b05f7ea48e8b3e89e743c9871aa3]

References