{"id":"CVE-2020-9402","details":"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.","aliases":["BIT-django-2020-9402","GHSA-3gh2-xw74-jmcw","PYSEC-2020-36"],"modified":"2026-04-10T04:28:41.340806Z","published":"2020-03-05T15:15:12.410Z","related":["SUSE-RU-2020:2161-1","SUSE-SU-2020:3309-1","openSUSE-SU-2024:11205-1","openSUSE-SU-2024:13887-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2026:10005-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4705"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202004-17"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200327-0004/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4296-1/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html"},{"type":"FIX","url":"https://docs.djangoproject.com/en/3.0/releases/security/"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2020/mar/04/security-releases/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"c669cf279ae7b3e02a61db4fb077030a4db80e4f"},{"fixed":"f1e3017aeaeddc590dcf2cf88511f3a726da73ca"},{"introduced":"2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"},{"fixed":"167699278806b21757104acf0ff0570f673d44c7"},{"introduced":"2a04e24d2dfc8e60a66e4369d970913cb2112d91"},{"fixed":"c2250cfb80e27cdf8d098428824da2800a18cadf"}],"database_specific":{"versions":[{"introduced":"1.11"},{"fixed":"1.11.29"},{"introduced":"2.2"},{"fixed":"2.2.11"},{"introduced":"3.0"},{"fixed":"3.0.4"}]}}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"31"}]},{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-9402.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}