Vulnerability advisory
CVE-2021-35042
Also known as BIT-django-2021-35042GHSA-xpfp-f569-q3p2PYSEC-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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| 0b8a0296bfd30748f08021834e95cdae241686e8 to before 43873b9c92cfe68a082c7feda86f6fb95a3e902c | 43873b9c92cfe68a082c7feda86f6fb95a3e902c |
| 3591e1c1acbd7c13174275367c3fdf012cb0413b to before 0eca7a66239ef646f59fe2af643199275dae7a35 | 0eca7a66239ef646f59fe2af643199275dae7a35 |
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
- Webgroups.google.com/forum/#%21forum/django-announce ↗
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y/ ↗
- Advisorysecurity.netapp.com/advisory/ntap-20210805-0008/ ↗
- Fixdocs.djangoproject.com/en/3.2/releases/security/ ↗
- Fixwww.djangoproject.com/weblog/2021/jul/01/security-releases/ ↗
- Fixwww.openwall.com/lists/oss-security/2021/07/02/2 ↗