What’s Vulnerable › Vulnerabilities
CVE-2020-9402
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 22.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-03-05 · updated 2026-06-17
- Weakness: CWE-89
Description
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.
Affected products
- Canonical Ubuntu Linux: 16.04, 18.04, 19.10
- Debian Linux: 9.0, 10.0
- Django: from 1.11 before 1.11.29; from 2.2 before 2.2.11; from 3.0 before 3.0.4 — fixed in 1.11.29, 2.2.11, 3.0.4
- Fedoraproject Fedora: 31, 32
- NetApp Steelstore Cloud Integrated Storage: all versions
How to fix
Upgrade to a fixed version: Django 1.11.29, 2.2.11, 3.0.4. Check the vendor advisory for mitigations.
References
- https://docs.djangoproject.com/en/3.0/releases/security/
- https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY
- https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/
- https://security.gentoo.org/glsa/202004-17
- https://security.netapp.com/advisory/ntap-20200327-0004/
- https://usn.ubuntu.com/4296-1/
- https://www.debian.org/security/2020/dsa-4705
- https://www.djangoproject.com/weblog/2020/mar/04/security-releases/
- https://docs.djangoproject.com/en/3.0/releases/security/
- https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY
Get alerted when CVE-2020-9402 or the next vulnerability affects your stack