~ / search / GHSA-w24h-v9qh-8gxj

GHSA-w24h-v9qh-8gxj

SQL Injection in Django

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-28347

Packages

EcosystemPackageAffectedFixed in
PyPI Django >= 2.2, < 2.2.28 2.2.28
PyPI Django >= 3.2, < 3.2.13 3.2.13
PyPI Django >= 4.0, < 4.0.4 4.0.4

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.