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.
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
