CVE-2020-9402

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.

Published: 2020-03-05 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-9402 is rated High Risk (67.5/100): CVSS High severity, with high exploitation likelihood (EPSS 85.00%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2020-9402

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-28 87.51% 85.00% -2.52%
2 2026-05-20 85.51% 87.51% +2.00%
3 2026-02-27 85.51%

Full EPSS history (53 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-9402

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
6.5 2.0 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.0 6.4 [email protected]

Weakness enumeration for CVE-2020-9402

GitHub Security Advisory for CVE-2020-9402

OS Trackers for CVE-2020-9402

vendor priority summary link
alpine high CVE-2020-9402: 2 source package rows (py-django, py3-django); 10 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 10, open 0. https://security.alpinelinux.org/vuln/CVE-2020-9402
debian low CVE-2020-9402 low priority: Debian including 1 source packages (python-django), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2020-9402
gentoo normal CVE-2020-9402: 1 GLSA(s) (202004-17), 1 atom(s) (dev-python/django); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-9402
redhat medium https://access.redhat.com/security/cve/CVE-2020-9402
suse high CVE-2020-9402 severity important: SUSE including 250 source package names (ansible-2.9.14-3.15.1, ansible1-1.9.6-9.7.2, …), 480 product×package rows across 8 product lines (HPE Helion OpenStack 8, SUSE Enterprise Storage 5, … (8 product lines)): Fixed 478, Known Not Affected 2. https://www.suse.com/security/cve/CVE-2020-9402/
ubuntu medium CVE-2020-9402 medium priority: Ubuntu including 1 source packages (python-django), 5 status rows across 5 suites (bionic, eoan, trusty, upstream, xenial): released 4, not-affected 1. https://ubuntu.com/security/CVE-2020-9402

Affected software / configurations for CVE-2020-9402

Vendor Product Version Raw CPE
djangoproject django >= 1.11, < 1.11.29 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django >= 2.2, < 2.2.11 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
djangoproject django >= 3.0, < 3.0.4 cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
fedoraproject fedora 31 cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
netapp steelstore_cloud_integrated_storage cpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.10 cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*

References for CVE-2020-9402

URL Tags
https://docs.djangoproject.com/en/3.0/releases/security/ Patch Release Notes Vendor Advisory
https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY
https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html Mailing List Third Party Advisory
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 Third Party Advisory
https://security.netapp.com/advisory/ntap-20200327-0004/ Third Party Advisory
https://usn.ubuntu.com/4296-1/ Third Party Advisory
https://www.debian.org/security/2020/dsa-4705 Third Party Advisory
https://www.djangoproject.com/weblog/2020/mar/04/security-releases/ Patch Vendor Advisory
cvelogic Threat Intelligence