SQL Injection Affecting django package, versions [1.11,1.11.23) [2.1,2.1.11) [2.2,2.2.4)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.54% (77th percentile)
Expand this section
NVD
9.8 critical
Expand this section
Red Hat
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-DJANGO-456566
  • published 4 Aug 2019
  • disclosed 2 Aug 2019
  • credit Guido Vranken, Sage M. Abdullah

How to fix?

Upgrade Django to version 1.11.23, 2.1.11, 2.2.4 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to SQL Injection. Key and index lookups for django.contrib.postgres.fields.JSONField and key lookups for django.contrib.postgres.fields.HStoreField were subject to SQL injection, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to QuerySet.filter().