{"id":"CVE-2020-9402","published":"2020-03-05T14:49:57Z","modified":"2024-08-04T10:26:16Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.23951,"percentile":0.97885,"provenance":"source"},"cwes":[],"references":[{"url":"https://docs.djangoproject.com/en/3.0/releases/security/","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY","tags":["x_refsource_MISC"]},{"url":"https://www.djangoproject.com/weblog/2020/mar/04/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4296-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.netapp.com/advisory/ntap-20200327-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202004-17","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.debian.org/security/2020/dsa-4705","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":19.58}]},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=1.11, <1.11.29",">=2.2, <2.2.11",">=3.0, <3.0.4"],"patched":["1.11.29","2.2.11","3.0.4"],"from":["GHSA-3gh2-xw74-jmcw","PYSEC-2020-36"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection in Django's GIS functions and aggregates on Oracle, affecting Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4, where untrusted data used as a tolerance parameter could break escaping. An attacker who can supply a suitably crafted tolerance value to these GIS functions or aggregates on an Oracle backend can inject arbitrary malicious SQL, provided the application passes untrusted input into that parameter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:47Z"},"euvd":{"id":"EUVD-2020-0072","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-19118","published":"2019-12-02","fixed":"2.2.8","kev":false},{"cve":"CVE-2019-19844","published":"2019-12-18","fixed":"3.0.1","kev":false},{"cve":"CVE-2020-7471","published":"2020-02-03","fixed":"3.0.3","kev":false,"link":{"from":"CVE-2020-7471","to":"CVE-2020-9402","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"1.11.28","toFixed":"1.11.29","daysApart":31},{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"2.2.10","toFixed":"2.2.11","daysApart":31},{"kind":"similar","provenance":"machine","score":0.31,"basis":"same package + description similarity"}]}},{"cve":"CVE-2020-9402","published":"2020-03-05","fixed":"3.0.4","kev":false},{"cve":"CVE-2020-13254","published":"2020-06-03","fixed":"3.0.7","kev":false,"link":{"from":"CVE-2020-9402","to":"CVE-2020-13254","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"2.2.11","toFixed":"2.2.13","daysApart":90},{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"3.0.4","toFixed":"3.0.7","daysApart":90}]}},{"cve":"CVE-2020-13596","published":"2020-06-03","fixed":"3.0.7","kev":false,"link":{"from":"CVE-2020-9402","to":"CVE-2020-13596","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"2.2.11","toFixed":"2.2.13","daysApart":90},{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"3.0.4","toFixed":"3.0.7","daysApart":90}]}},{"cve":"CVE-2020-24583","published":"2020-09-01","fixed":"3.1.1","kev":false}],"package":"PyPI:Django"}}