01 Record
CVE-2021-35042
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.
UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 44.36% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 98.6% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-07-02 09:54Z5 YR AGO
- Last updated
- 2024-08-04 00:33Z2 YR AGO
- Reserved
- 2021-06-18
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Base
- Data version
- 5.1
- Document digest
- 58216e7ab98c6201644aeb7b7f119764c330f1a763081f1dd972c0b3d3aa8ba0
05 Affected products
VendorProductVersionsPlatforms
06 References
- groups.google.comhttps://groups.google.com/forum/#%21forum/django-announce
- docs.djangoproject.comhttps://docs.djangoproject.com/en/3.2/releases/security/
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/07/02/2
- www.djangoproject.comhttps://www.djangoproject.com/weblog/2021/jul/01/security-releases/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210805-0008/
- lists.fedoraproject.orgFEDORA-2021-78e501d62ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/
07 Fixed in
Arch Linux
- python-django Fixed in 3.2.5-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.