[ASA-202002-1] python-django: sql injection

Morten Linderud foxboron at archlinux.org
Thu Feb 6 14:28:16 UTC 2020


Arch Linux Security Advisory ASA-202002-1
=========================================

Severity: Medium
Date    : 2020-02-03
CVE-ID  : CVE-2020-7471
Package : python-django
Type    : sql injection
Remote  : Yes
Link    : https://security.archlinux.org/AVG-1091

Summary
=======

The package python-django before version 3.0.3-1 is vulnerable to sql
injection.

Resolution
==========

Upgrade to 3.0.3-1.

# pacman -Syu "python-django>=3.0.3-1"

The problem has been fixed upstream in version 3.0.3.

Workaround
==========

None.

Description
===========

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

Impact
======

A remote attacker is able to perform a SQL injection using a specially
crafted request.

References
==========

https://www.djangoproject.com/weblog/2020/feb/03/security-releases/
https://security.archlinux.org/CVE-2020-7471
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20200206/6dc4c7ac/attachment.sig>


More information about the arch-security mailing list