Live threats

All CVEs / Djangoproject

CVE-2020-9402Djangoproject Django

High 8.8 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
djangoprojectdjango≥ 1.11 < 1.11.29
djangoprojectdjango≥ 2.2 < 2.2.11
djangoprojectdjango≥ 3.0 < 3.0.4
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora31
fedoraprojectfedora32
netappsteelstore_cloud_integrated_storageall
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.10

Official advisories

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.