{"id":"UBUNTU-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.","modified":"2026-02-04T03:04:38.665166Z","published":"2020-03-04T10:00:00Z","related":["USN-4296-1"],"upstream":["CVE-2020-9402"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-9402"},{"type":"REPORT","url":"https://www.djangoproject.com/weblog/2020/mar/04/security-releases/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4296-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-9402"}],"affected":[{"package":{"name":"python-django","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-django@1.8.7-1ubuntu5.12?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.7-1ubuntu5.12"}]}],"versions":["1.7.9-1ubuntu5","1.8.5-2ubuntu1","1.8.7-1ubuntu1","1.8.7-1ubuntu2","1.8.7-1ubuntu3","1.8.7-1ubuntu4","1.8.7-1ubuntu5","1.8.7-1ubuntu5.1","1.8.7-1ubuntu5.2","1.8.7-1ubuntu5.4","1.8.7-1ubuntu5.5","1.8.7-1ubuntu5.6","1.8.7-1ubuntu5.7","1.8.7-1ubuntu5.8","1.8.7-1ubuntu5.9","1.8.7-1ubuntu5.10","1.8.7-1ubuntu5.11"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.8.7-1ubuntu5.12","binary_name":"python-django"},{"binary_version":"1.8.7-1ubuntu5.12","binary_name":"python-django-common"},{"binary_version":"1.8.7-1ubuntu5.12","binary_name":"python3-django"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-9402.json"}},{"package":{"name":"python-django","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-django@1:1.11.11-1ubuntu1.8?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.11.11-1ubuntu1.8"}]}],"versions":["1:1.11.4-1ubuntu1","1:1.11.6-1ubuntu1","1:1.11.9-1ubuntu1","1:1.11.11-1ubuntu1","1:1.11.11-1ubuntu1.1","1:1.11.11-1ubuntu1.2","1:1.11.11-1ubuntu1.3","1:1.11.11-1ubuntu1.4","1:1.11.11-1ubuntu1.5","1:1.11.11-1ubuntu1.6","1:1.11.11-1ubuntu1.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:1.11.11-1ubuntu1.8","binary_name":"python-django"},{"binary_version":"1:1.11.11-1ubuntu1.8","binary_name":"python-django-common"},{"binary_version":"1:1.11.11-1ubuntu1.8","binary_name":"python3-django"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-9402.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}