GHSA-2gwj-7jmv-h26rCriticalCVSS 9.8

SQL Injection in Django

Published
April 13, 2022
Last Modified
September 20, 2024

🔗 CVE IDs covered (1)

📋 Description

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

🎯 Affected products3

  • pip/Django:>= 2.2, < 2.2.28
  • pip/Django:>= 3.2, < 3.2.13
  • pip/Django:>= 4.0, < 4.0.4

🔗 References (16)