Back to list

SQL injection in Django — CVE-2020-9402

GitHub · GitHub · CVE-2020-9402

ID
CVE-2020-9402
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.7
EPSS
0.85514

Summary

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.

Product

pip: Django

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories