Shellfeed logo Shellfeed

CVE-2022-34265 · CRITICAL (CVSS 9.8)

Summary: An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6.

Details

An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list 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 [3.2a1 – 3.2.14]
  • PyPI django [4.0a1 – 4.0.6]
  • GIT github.com/django/django [b6475d7d7940f3ce575e0b0f2d83e517f899b4cf – 746e88cc634469112b823225c19d75c7362f8ecf] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – caad462feaa84ba78ed658a9595a4a4363dad2db]

References