Versions mentioned in the description apply to the upstream
Remediation section below for
Ubuntu:16.04 relevant versions.
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.
python-django to version 1.8.7-1ubuntu5.12 or higher.