django
Affected
- introduced
2.2, fixed2.2.28(ecosystem)
Fixed versions
2.2.28
Fix
- Fixed version
2.2.28pip install --upgrade django==2.2.28
Advisory
Also known as: BIT-django-2022-28347, CVE-2022-28347, PYSEC-2022-191
SQL Injection in Django
A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.
Critical Basis: The source's own band: CRITICAL
2.2, fixed 2.2.28 (ecosystem)2.2.28
2.2.28pip install --upgrade django==2.2.283.2, fixed 3.2.13 (ecosystem)3.2.13
3.2.13pip install --upgrade django==3.2.134.0, fixed 4.0.4 (ecosystem)4.0.4
4.0.4pip install --upgrade django==4.0.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0