GitHub Advisoryadvisory · PyPI
GHSA-3gh2-xw74-jmcw SQL injection in Django
HIGH
Official page ↗
- Aliases
- CVE-2020-9402
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2020-06-04
Affected packages
• PyPI Django: >= 1.11, < 1.11.29 → fixed in 1.11.29
• PyPI Django: >= 2.2, < 2.2.11 → fixed in 2.2.11
• PyPI Django: >= 3.0, < 3.0.4 → fixed in 3.0.4
Description
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.
Related
Alias · CVE (1)
- CVE-2020-9402 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… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-9402 advisory
- https://github.com/django/django/commit/6695d29b1c1ce979725816295a26ecc64ae0e927 web
- https://www.djangoproject.com/weblog/2020/mar/04/security-releases web
- https://www.debian.org/security/2020/dsa-4705 web
- https://usn.ubuntu.com/4296-1 web
- https://security.netapp.com/advisory/ntap-20200327-0004 web
- https://security.gentoo.org/glsa/202004-17 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZMN2NKAGTFE3YKMNM2JVJG7R2W7LLHY web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ web
- https://lists.debian.org/debian-lts-announce/2022/05/msg00035.html web
- https://groups.google.com/forum/#%21topic/django-announce/fLUh_pOaKrY web
- https://groups.google.com/forum/#!topic/django-announce/fLUh_pOaKrY web
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-36.yaml web
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-345.yaml web
- https://github.com/django/django package
- https://github.com/advisories/GHSA-3gh2-xw74-jmcw advisory
- https://docs.djangoproject.com/en/3.0/releases/security web