Vulnerability · Published Mar 5, 2020 · Assigned by mitre
CVE-2020-9402
High 8.8
In plain English
A high-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 22.5% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)22.5%top 2.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-django | 1.11.29-r0 | ALPINE-CVE-2020-9402 |
| Alpine:v3.21 | py3-django | 1.11.29-r0 | ALPINE-CVE-2020-9402 |
| Alpine:v3.22 | py3-django | 1.11.29-r0 | ALPINE-CVE-2020-9402 |
| Alpine:v3.23 | py3-django | 1.11.29-r0 | ALPINE-CVE-2020-9402 |
| Alpine:v3.24 | py3-django | 1.11.29-r0 | ALPINE-CVE-2020-9402 |
| Debian:12 | python-django | 2:2.2.11-1 | DEBIAN-CVE-2020-9402 |
| Debian:13 | python-django | 2:2.2.11-1 | DEBIAN-CVE-2020-9402 |
| Debian:14 | python-django | 2:2.2.11-1 | DEBIAN-CVE-2020-9402 |
| PyPI | django | 1.11.29, 2.2.11, 3.0.4 | PYSEC-2020-345 |
| PyPI | django | 1.11.29, 2.2.11, 3.0.4 | PYSEC-2020-36 |
| PyPI | django | 3.0.4 | GHSA-3gh2-xw74-jmcw |
| PyPI | django | 2.2.11 | GHSA-3gh2-xw74-jmcw |
| PyPI | django | 1.11.29 | GHSA-3gh2-xw74-jmcw |
Affected products (as reported)
References
- https://docs.djangoproject.com/en/3.0/releases/security/ x_refsource_MISC
- https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY x_refsource_MISC
- https://www.djangoproject.com/weblog/2020/mar/04/security-releases/ x_refsource_CONFIRM
- USN-4296-1 vendor-advisory, x_refsource_UBUNTU
- https://security.netapp.com/advisory/ntap-20200327-0004/ x_refsource_CONFIRM
- GLSA-202004-17 vendor-advisory, x_refsource_GENTOO
- DSA-4705 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2020-c2639662af vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-2e7d30f7aa vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220526 [SECURITY] [DLA 3024-1] python-django security update mailing-list, x_refsource_MLIST