CVE-2021-35042
CRITICALCVSS 9.8/10EPSS 44.37%
Last modified
CVE-2021-35042 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 44.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 3.1, < 3.1.13 |
| Djangoproject | Django | >= 3.2, < 3.2.5 |
| Fedoraproject | Fedora | 34 |
References
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210805-0008/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases/Patch, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/07/02/2Mailing List, Patch, Third Party Advisory
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210805-0008/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases/Patch, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/07/02/2Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-35042?
CVE-2021-35042 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 44.37% probability of exploitation in the next 30 days.
How do I fix CVE-2021-35042?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-35035A cleartext storage of sensitive information vulnerability i…6.5
- CVE-2021-35036A cleartext storage of information vulnerability in the Zyxe…6.5
- CVE-2021-35037Jamf Pro before 10.30.1 allows for an unvalidated URL redire…6.1
- CVE-2021-35039kernel/module.c in the Linux kernel before 5.12.14 mishandle…7.8
- CVE-2021-3504A flaw was found in the hivex library in versions before 1.3…5.4
- CVE-2021-35041The blockchain node in FISCO-BCOS V2.7.2 may have a bug when…7.5
- CVE-2021-35043OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes w…6.1
- CVE-2021-35045Cross site scripting (XSS) vulnerability in Ice Hrm 29.0.0.O…6.1
- CVE-2021-35046A session fixation vulnerability was discovered in Ice Hrm 2…6.1
- CVE-2021-35047Vulnerability in the CommandPost, Collector, and Sensor comp…8.8
- CVE-2021-35048Vulnerability in Fidelis Network and Deception CommandPost e…9.8
- CVE-2021-35049Vulnerability in Fidelis Network and Deception CommandPost e…8.8
Are you affected by CVE-2021-35042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
