NetSight
critical9.8

CVE-2021-35042

SQL Injection in Django

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipDjango>= 3.2a1, < 3.2.53.2.5

Affected products

VendorProductAffected versions
DjangoprojectDjango
from 3.1 before 3.1.13
from 3.2 before 3.2.5
FedoraprojectFedora
Version 34

Weakness classification

References