—
PYSEC-2022-191
Details
A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- http://www.openwall.com/lists/oss-security/2022/04/11/1 [WEB]
- https://docs.djangoproject.com/en/4.0/releases/security/ [WEB]
- https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ [ARTICLE]
- https://groups.google.com/forum/#!forum/django-announce [WEB]
- https://github.com/advisories/GHSA-w24h-v9qh-8gxj [ADVISORY]