漏洞描述
如果在GIS函数中使用不受信任的数据作为容差参数并在Oracle上进行聚合,则1.11.29之前的Django 1.11、2.2.11之前的2.2和3.0.4之前的3.0允许SQL注入。通过对GIS功能和Oracle上的聚合传递适当的容度,有可能打破转义并注入恶意SQL。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://docs.djangoproject.com/en/3.0/releases/security/
https://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY
https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY/
https://security.gentoo.org/glsa/202004-17
https://security.netapp.com/advisory/ntap-20200327-0004/
https://usn.ubuntu.com/4296-1/
https://www.debian.org/security/2020/dsa-4705
https://www.djangoproject.com/weblog/2020/mar/04/security-releases/