~ / search / GHSA-3gh2-xw74-jmcw

GHSA-3gh2-xw74-jmcw

SQL injection in Django

Source: GitHub Advisory Database (reviewed) High CVE-2020-9402

Packages

EcosystemPackageAffectedFixed in
PyPI Django >= 1.11, < 1.11.29 1.11.29
PyPI Django >= 2.2, < 2.2.11 2.2.11
PyPI Django >= 3.0, < 3.0.4 3.0.4

Details

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

Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it was possible to break escaping and inject malicious SQL.

References

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