Name | CVE-2021-35042 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-django (PTS) | jessie, jessie (lts) | 1.7.11-1+deb8u17 | fixed |
| stretch (security) | 1:1.10.7-2+deb9u17 | fixed |
| stretch (lts), stretch | 1:1.10.7-2+deb9u23 | fixed |
| buster, buster (lts) | 1:1.11.29-1+deb10u12 | fixed |
| buster (security) | 1:1.11.29-1+deb10u11 | fixed |
| bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
| bookworm (security), bookworm | 3:3.2.19-1+deb12u1 | fixed |
| sid, trixie | 3:4.2.16-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
python-django | source | (unstable) | (not affected) | | | |
Notes
- python-django <not-affected> (Vulnerable code introduced in 3.1)
https://www.djangoproject.com/weblog/2021/jul/01/security-releases/
Issue did affect only the experimental version and fixed in 2:3.2.5-1