Django security releases issued: 3.0.4, 2.2.11, and 1.11.29

Posted by Mariusz Felisiak on March 4, 2020

In accordance with our security release policy, the Django team is issuing Django 3.0.4, Django 2.2.11 and Django 1.11.29. These releases address the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.

CVE-2020-9402: Potential SQL injection via tolerance parameter in GIS functions and aggregates on Oracle

GIS functions and aggregates on Oracle were subject to SQL injection, using a suitably crafted tolerance.

Thank you to Norbert Szetei of Doyensec for the report.

Affected supported versions

  • Django master branch
  • Django 3.0
  • Django 2.2
  • Django 1.11


Patches to resolve the issue have been applied to Django's master branch and the 3.0, 2.2, and 1.11 release branches. The patches may be obtained from the following changesets:

The following releases have been issued:

The PGP key ID used for these releases is Mariusz Felisiak: 2EF56372BA48CD1B.

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email to, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.

Back to Top