GitHub Advisoryadvisory · PyPI

GHSA-3gh2-xw74-jmcw SQL injection in Django

HIGH Published 2020-06-05 Modified 2026-06-08 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