CVE-2021-35042
SQL Injection in Django
9.8
CRITICAL
CVSS 3.1
EPSS 90.9%
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.
How to fix CVE-2021-35042
To remediate CVE-2021-35042, upgrade the affected package to a fixed version below.
- Bitnami/django—upgrade to 3.1.13 or later
- PyPI/django—upgrade to 3.2.5 or later
- —upgrade to 3.1.13 or later
Is CVE-2021-35042 being exploited?
Likely — EPSS is 90.9%, placing CVE-2021-35042 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- >= 3.1.0, < 3.1.13, >= 3.2.0, < 3.2.5
- >= 3.2a1, < 3.2.5
- >= 3.1, < 3.1.13, >= 3.2, < 3.2.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |