CVE-2021-35042
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
8.0
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 3.2.5-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0 |
| sid | Fixed | 0 |
| forky | Fixed | 0 |
| bullseye | Fixed | 0 |
| bookworm | Fixed | 0 |
References
- https://security.archlinux.org/ASA-202107-11
- https://nvd.nist.gov/vuln/detail/CVE-2021-35042
- https://github.com/django/django/commit/0bd57a879a0d54920bb9038a732645fb917040e9
- https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f
- https://github.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4
- https://docs.djangoproject.com/en/3.2/releases/security
- https://github.com/advisories/GHSA-xpfp-f569-q3p2
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-109.yaml
- https://groups.google.com/forum/#!forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y
- https://security.netapp.com/advisory/ntap-20210805-0008
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases
- https://www.openwall.com/lists/oss-security/2021/07/02/2
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases/
- https://security-tracker.debian.org/tracker/CVE-2021-35042
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.