CRITICAL9.8
PYSEC-2021-109
Quick fix
PYSEC-2021-109 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=3.1.13'Details
Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://docs.djangoproject.com/en/3.2/releases/security/[WEB]
- https://www.openwall.com/lists/oss-security/2021/07/02/2[WEB]
- https://groups.google.com/forum/#!forum/django-announce[WEB]
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases/[ARTICLE]
- https://github.com/advisories/GHSA-xpfp-f569-q3p2[ADVISORY]