Feed
8.8HIGH
CVE-2020-9402SQL injection in Django
A high-severity vulnerability reachable over the network, needing low privileges and no user interaction. EPSS estimates a 21.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 21.9%
- percentile 98%
- Fix
- Named by a source
- CVE published 5 Mar 2020
Reference
None of the "Needs attention" rules apply right now.
EPSS 21.9% (+22) · Network attack vector (+10) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 1.11.29 / 2.2.11 / 3.0.4 or later on your release line.
- Patch: https://docs.djangoproject.com/en/3.0/releases/security/
- Patch: https://www.djangoproject.com/weblog/2020/mar/04/security-releases/
- Commit / pull request: https://github.com/django/django/commit/6695d29b1c1ce979725816295a26ecc64ae0e927
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 1.11, < 1.11.29Fixed in1.11.29OSV (PYSEC-2020-36)
- Affected>= 2.2, < 2.2.11Fixed in2.2.11OSV (PYSEC-2020-36)
- Affected>= 3.0, < 3.0.4Fixed in3.0.4OSV (PYSEC-2020-36)
Confirmed facts
- CVSS
- 8.8 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-3gh2-xw74-jmcw)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Weakness
- CWE-89
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 25 Nov 2025Exploitation more likely 70.7% → 81.2%
- 20 Oct 2025Exploitation more likely 71.1% → 82.7%
- 17 Oct 2025Exploitation more likely 71.1% → 82.7%
- 9 Oct 2025Exploitation more likely 59.1% → 71.1%
- 31 Mar 2025Exploitation more likely 47.4% → 54.8%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-9402
- commit / pull requesthttps://github.com/django/django/commit/6695d29b1c1ce979725816295a26ecc64ae0e927
- otherhttps://www.djangoproject.com/weblog/2020/mar/04/security-releases
- advisoryhttps://www.debian.org/security/2020/dsa-4705
- otherhttps://usn.ubuntu.com/4296-1
- otherhttps://security.netapp.com/advisory/ntap-20200327-0004
- advisoryhttps://security.gentoo.org/glsa/202004-17
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ
- advisoryhttps://lists.debian.org/debian-lts-announce/2022/05/msg00035.html
- otherhttps://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY
- otherhttps://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-36.yaml
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-345.yaml
- otherhttps://github.com/django/django
- advisoryhttps://github.com/advisories/GHSA-3gh2-xw74-jmcw
- otherhttps://docs.djangoproject.com/en/3.0/releases/security
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/
- advisoryhttps://security.netapp.com/advisory/ntap-20200327-0004/
- advisoryhttps://usn.ubuntu.com/4296-1/
- patchhttps://docs.djangoproject.com/en/3.0/releases/security/
- patchhttps://www.djangoproject.com/weblog/2020/mar/04/security-releases/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-3gh2-xw74-jmcw (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2020-36 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 52 min ago · osv 52 min ago · nvd 52 min ago · epss 52 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2020-9402, GHSA-3gh2-xw74-jmcw, PYSEC-2020-36