CVE-2020-7471: Potential SQL injection viaStringAgg(delimiter)
django.contrib.postgres.aggregates.StringAggaggregation function was subject to SQL injection, using a suitably crafteddelimiter.
Thank you to Simon Charette for the report and patch.
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:
The following releases have been issued:
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 firstname.lastname@example.org, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.