GitHub Advisoryadvisory · PyPI
GHSA-xpfp-f569-q3p2 SQL Injection in Django
CRITICAL
Official page ↗
- Aliases
- CVE-2021-35042
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2021-07-03
Affected packages
• PyPI Django: >= 3.2a1, < 3.2.5 → fixed in 3.2.5
• PyPI Django: >= 3.0a1, < 3.1.13 → fixed in 3.1.13
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.
Related
Alias · CVE (1)
- CVE-2021-35042 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… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-35042 advisory
- https://github.com/django/django/commit/0bd57a879a0d54920bb9038a732645fb917040e9 web
- https://github.com/django/django/commit/a34a5f724c5d5adb2109374ba3989ebb7b11f81f web
- https://github.com/django/django/commit/dae83a24519d6f284c74414e0b81d64d9b5a0db4 web
- https://docs.djangoproject.com/en/3.2/releases/security web
- https://github.com/advisories/GHSA-xpfp-f569-q3p2 advisory
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-109.yaml web
- https://groups.google.com/forum/#!forum/django-announce web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SS6NJTBYWOX6J7G4U3LUOILARJKWPQ5Y web
- https://security.netapp.com/advisory/ntap-20210805-0008 web
- https://www.djangoproject.com/weblog/2021/jul/01/security-releases web
- https://www.openwall.com/lists/oss-security/2021/07/02/2 web