Security mailing lists by PureSourceCode

CVE-2020-9402

HIGH 8.8CVSS 3.1

SQL injection in Django

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
5 Mar 2020
Last modified
9 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-89
Also known as
BIT-django-2020-9402GHSA-3gh2-xw74-jmcwPYSEC-2020-345PYSEC-2020-36
Sources
NVDJSONOSV GHSA-3gh2-xw74-jmcwJSONOSV PYSEC-2020-345JSONOSV PYSEC-2020-36JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 1.11, < 1.11.29 1.11.29
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.2, < 2.2.11 2.2.11
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 3.0, < 3.0.4 3.0.4
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD netapp steelstore_cloud_integrated_storage
cpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:*
(no version)
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
= 19.10
OSV PyPI django >= 1.11, < 1.11.29 1.11.29
OSV PyPI django >= 2.2, < 2.2.11 2.2.11
OSV PyPI django >= 3.0, < 3.0.4 3.0.4
OSV PyPI django >= 1.11, < 1.11.29; >= 2.2, < 2.2.11; >= 3.0, < 3.0.4 1.11.29, 2.2.11, 3.0.4

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 5 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.