VDB
Sign up
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

PyPI/django
Introduced in: 3.1Fixed in: 3.1.13
Fixpip install --upgrade 'django>=3.1.13'

References