CVE-2021-35042

django: potential SQL injection via unsanitized QuerySet.order_by() input

Published Jul 2, 2021 CVSS 3.1 · 9.8 Critical EPSS 44.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0061 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.
Github GHSA Github GHSA GHSA-xpfp-f569-q3p2 SQL Injection in Django
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 12:33 AM
Reserved
Jun 18, 2021, 12:00 AM
Status
Modified
Published
Jul 2, 2021, 10:15 AM
Modified
Jun 17, 2026, 3:57 AM
Severity
Important
Public date
Jul 1, 2021, 8:00 AM