{"id":"CVE-2020-9402","aliases":["BIT-django-2020-9402","GHSA-3gh2-xw74-jmcw","PYSEC-2020-36"],"url":"https://o3.security/vulnerability/CVE-2020-9402","summary":"SQL injection in Django","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.","published":"2020-03-05T15:15:12.410Z","modified":"2026-07-15T10:14:37.881347741Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.11.29"},{"ecosystem":"PyPI","name":"django","fixedVersion":"2.2.11"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.0.4"}],"fix":null,"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html"},{"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://www.debian.org/security/2020/dsa-4705"},{"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/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T10:14:37.881347741Z"}}