
====================================================================

                             CERT-Renater

                 Note d'Information No. 2020/VULN053
_____________________________________________________________________

DATE                : 03/02/2020

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Django versions prior to 3.0.3,
                                  2.2.10, 1.11.28.

=====================================================================
https://www.djangoproject.com/weblog/2020/feb/03/security-releases/
_____________________________________________________________________

Django security releases issued: 3.0.3, 2.2.10, and 1.11.28
Posted by Carlton Gibson on février 3, 2020


In accordance with our security release policy, the Django team is
issuing Django 3.0.3, Django 2.2.10 and Django 1.11.28. These releases
address the security issue detailed below. We encourage all users of
Django to upgrade as soon as possible.


Affected supported versions

    Django master branch
    Django 3.0
    Django 2.2
    Django 1.11

CVE-2020-7471: Potential SQL injection via StringAgg(delimiter)

django.contrib.postgres.aggregates.StringAgg aggregation function was
subject to SQL injection, using a suitably crafted delimiter.

Thank you to Simon Charette for the report and patch.


Resolution

Patches to resolve the issue have been applied to Django's master branch
and the 3.0, 2.2, and 1.11 release branches. The patches may be obtained
from the following changesets:

    On the master branch
    On the 3.0 release branch
    On the 2.2 release branch
    On the 1.11 release branch

The following releases have been issued:

    Django 3.0.3 (download Django 3.0.3 | 3.0.3 checksums)
    Django 2.2.10 (download Django 2.2.10 | 2.2.10 checksums)
    Django 1.11.28 (download Django 1.11.28 | 1.11.28 checksums)

The PGP key ID used for these releases is Carlton Gibson:
E17DF5C82B4F9D00.


General notes regarding security reporting

As always, we ask that potential security issues be reported via private
email to security@djangoproject.com, and not via Django's Trac instance
or the django-developers list. Please see our security policies for
further information.


=========================================================
+ CERT-RENATER        | tel : 01-53-94-20-44            +
+ 23/25 Rue Daviel    | fax : 01-53-94-20-41            +
+ 75013 Paris         | email:cert@support.renater.fr   +
=========================================================




