CVE-2021-35042

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductDjango
PublishedJul 2, 2021
First seenJul 2, 2021

How to fix

Update
  • djangoproject django3.1.13, 3.2.5 or later
  • django3.2.5, 3.1.13 or later

Affected products

ProductAffected versionsFixed in
djangoproject django3.1 ≤ v < 3.1.13, 3.2 ≤ v < 3.2.53.1.13, 3.2.5
fedoraproject fedora34—
djangoPyPI3.2a1 ≤ v < 3.2.5, 3.0a1 ≤ v < 3.1.13, 3.1 ≤ v < 3.1.13, 3.2 ≤ v < 3.2.53.2.5, 3.1.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.