CVE-2021-35042

Summary

CVECVE-2021-35042
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-02 10:15:00 UTC
Updated2023-11-07 03:36:00 UTC
DescriptionDjango 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Djangoproject Django All All All All
Operating System Fedoraproject Fedora 34 All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: python-django-3.1.13-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Redirecting to Google Groups groups.google.com
[SECURITY] Fedora 34 Update: python-django-3.1.13-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Redirecting to Google Groups MISC groups.google.com
Archive of security issues | Django documentation | Django MISC docs.djangoproject.com
oss-security - Django: CVE-2021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input CONFIRM www.openwall.com
Django security releases issued: 3.2.5 and 3.1.13 | Weblog | Django CONFIRM www.djangoproject.com
CVE-2021-35042 Django Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 281824 Fedora Security Update for python (FEDORA-2021-78e501d62a)
  • 296060 Oracle Solaris 11.4 Support Repository Update (SRU) 37.0.1.101.1 Missing (CPUJUL2021)
  • 375743 Django Framework SQL Injection Vulnerability
  • 501675 Alpine Linux Security Update for py3-django
  • 505299 Alpine Linux Security Update for py3-django
  • 980629 Python (pip) Security Update for Django (GHSA-xpfp-f569-q3p2)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report