Debian Security Advisory

DLA-2982-1 python-django -- LTS security update

Date Reported:
14 Apr 2022
Affected Packages:
python-django
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2022-28346.
More information:

It was discovered that there was potential SQL injection attack vulnerability in Django, a popular Python-based web development framework:

  • CVE-2022-28346

    CVE-2022-28346: 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.

For Debian 9 Stretch, this problem have been fixed in version 1:1.10.7-2+deb9u16.

We recommend that you upgrade your python-django packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS