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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://docs.djangoproject.com/en/3.0/releases/security/ | patch vendor advisory release notes |
https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY | |
https://www.djangoproject.com/weblog/2020/mar/04/security-releases/ | patch vendor advisory |
https://usn.ubuntu.com/4296-1/ | third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20200327-0004/ | third party advisory |
https://security.gentoo.org/glsa/202004-17 | third party advisory vendor advisory |
https://www.debian.org/security/2020/dsa-4705 | third party advisory vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/ | vendor advisory |
https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html | third party advisory mailing list |