Shellfeed logo Shellfeed

CVE-2022-28347 · CRITICAL (CVSS 9.8)

Summary: A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4.

Details

A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.

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 [2.2 – 2.2.28]
  • PyPI django [3.2 – 3.2.13]
  • PyPI django [4.0 – 4.0.4]
  • GIT github.com/django/django [2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 – 5c3300027b30c1b498d99010f7d618316f685045] [3591e1c1acbd7c13174275367c3fdf012cb0413b – 08e6073f878264a0c091da0d3db456820252ef6c] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – 89807fbde8b7b17d00434bc4695535855e96fe77]

References