Vulnerability advisory
GHSA-xpfp-f569-q3p2
SQL Injection in Django
Also known as BIT-django-2021-35042CVE-2021-35042PYSEC-2021-109
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - 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
Affected versions
| Affected | Fixed in |
|---|---|
3.2a1 to before 3.2.5 | 3.2.5Advisories → |
3.0a1 to before 3.1.13 | 3.1.13Advisories → |
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-35042 ↗
- Webgithub.com/django/django/commit/0bd57a879a0d54920bb9038a732645fb917040e9 ↗
- Webgithub.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f ↗
- Webgithub.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4 ↗
- Webdocs.djangoproject.com/en/3.2/releases/security ↗
- Advisorygithub.com/advisories/GHSA-xpfp-f569-q3p2 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-109.yaml ↗
- Webgroups.google.com/forum/#!forum/django-announce ↗
- Weblists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y ↗
- Websecurity.netapp.com/advisory/ntap-20210805-0008 ↗
- Webwww.djangoproject.com/weblog/2021/jul/01/security-releases ↗
- Webwww.openwall.com/lists/oss-security/2021/07/02/2 ↗