Debian 10261 Published by

A python-django security update has been released for Debian GNU/Linux 9 LTS to address a potential SQL injection attack vulnerability.



DLA 2982-1: python-django security update



- -------------------------------------------------------------------------
Debian LTS Advisory DLA-2982-1 debian-lts@lists.debian.org
  https://www.debian.org/lts/security/ Chris Lamb
April 14, 2022   https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : python-django
Version : 1:1.10.7-2+deb9u16
CVE ID : CVE-2022-28346
Debian Bug : #1009677

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

QuerySet.annotate(), aggregate(), and extra() methods were subject to
SQL injection in column aliases, using a suitably crafted dictionary,
with dictionary expansion, as the **kwargs passed to these methods.

For more information, please see:
  https://www.djangoproject.com/weblog/2022/apr/11/security-releases/

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

We recommend that you upgrade your python-django packages.

For the detailed security status of python-django please refer to
its security tracker page at:
  https://security-tracker.debian.org/tracker/python-django

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