CVE-2020-9402Djangoproject Django
High 8.8 High EPSS
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 8.8
- EPSS
- 21.9% probability of exploitation in 30 days · percentile 98
- Auth required
- Yes
- Published
- Mar 5, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Django.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 1.11 < 1.11.29 |
1.11.29 |
pip install "django>=1.11.29" |
| PyPI | django |
≥ 2.2 < 2.2.11 |
2.2.11 |
pip install "django>=2.2.11" |
| PyPI | django |
≥ 3.0 < 3.0.4 |
3.0.4 |
pip install "django>=3.0.4" |
| PyPI | django |
≥ 1.11 < 1.11.29 |
1.11.29 |
pip install "django>=1.11.29" |
| PyPI | django |
≥ 2.2 < 2.2.11 |
2.2.11 |
pip install "django>=2.2.11" |
| PyPI | django |
≥ 3.0 < 3.0.4 |
3.0.4 |
pip install "django>=3.0.4" |
Per OSV / GitHub Advisories (GHSA-3gh2-xw74-jmcw, PYSEC-2020-36). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 1.11 < 1.11.29 |
| djangoproject | django | ≥ 2.2 < 2.2.11 |
| djangoproject | django | ≥ 3.0 < 3.0.4 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| netapp | steelstore_cloud_integrated_storage | all |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.10 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- python313-Django-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11248-1 · Jul 10, 2026 Critical
- python313-Django4-4.2.30-4.1 on GA media · SUSE · openSUSE-SU-2026:11235-1 · Jul 9, 2026 Critical
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.djangoproject.com Patch Release Notes Vendor Advisory
- groups.google.com
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.djangoproject.com Patch Vendor Advisory