CVE-2021-35042

high
Published 2021-09-22 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
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

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-35042

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202107-11

OS impact

OSVersionStatusFixed in
arch archfixed3.2.5-1
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed0
debian debiansidfixed0
debian debiantrixiefixed0

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=3.2a1,<3.2.53.2.5
python PyPIdjango>=3.0a1,<3.1.133.1.13
python PyPIdjango>=3.2,<3.2.53.1.13

References

Verify integrity in audit chain (admin only). AS-IS.