CVE-2020-9402
high
CVSS v3
—
CVSS v2
—
VIR risk
8.0
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2020-9402
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2020-9402.html
Vendor advisory: arch — https://security.archlinux.org/ASA-202003-5
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 3.0.4-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 2:2.2.11-1 |
| debian | bullseye | fixed | 2:2.2.11-1 |
| debian | forky | fixed | 2:2.2.11-1 |
| debian | sid | fixed | 2:2.2.11-1 |
| debian | trixie | fixed | 2:2.2.11-1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-9402
- https://github.com/django/django/commit/6695d29b1c1ce979725816295a26ecc64ae0e927
- https://www.djangoproject.com/weblog/2020/mar/04/security-releases
- https://www.debian.org/security/2020/dsa-4705
- https://usn.ubuntu.com/4296-1
- https://security.netapp.com/advisory/ntap-20200327-0004
- https://security.gentoo.org/glsa/202004-17
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ
- https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html
- https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY
- https://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-36.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-345.yaml
- https://github.com/django/django
- https://github.com/advisories/GHSA-3gh2-xw74-jmcw
- https://docs.djangoproject.com/en/3.0/releases/security
- https://security.archlinux.org/ASA-202003-5
- 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.netapp.com/advisory/ntap-20200327-0004/
- https://usn.ubuntu.com/4296-1/
- https://docs.djangoproject.com/en/3.0/releases/security/
Verify integrity in audit chain (admin only). AS-IS.