Shellfeed logo Shellfeed

CVE-2022-28346 · CRITICAL (CVSS 9.8)

Summary: An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4.

Details

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

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 [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – 5c3300027b30c1b498d99010f7d618316f685045] [b6475d7d7940f3ce575e0b0f2d83e517f899b4cf – 08e6073f878264a0c091da0d3db456820252ef6c] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – 89807fbde8b7b17d00434bc4695535855e96fe77]

References