An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
CVSS Details
- CVSS 3.1 Base Score: 7.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-django | Oct 10, 2024 | Aug 7, 2024 |
| Debian | — | Upgrade python-django | May 15, 2025 | Aug 7, 2024 |
| Freebsd | — | Upgrade py311-django50Upgrade py310-django50Upgrade py39-django42Upgrade py310-django42Upgrade py311-django42 | Aug 7, 2024 | Aug 7, 2024 |
| Gentoo Linux | — | Upgrade dev-python/django. | Sep 18, 2025 | Sep 17, 2025 |
| Oracle_linux | — | — | Nov 11, 2024 | Aug 6, 2024 |
| Suse | — | Upgrade python311-DjangoUpgrade python3-django | Aug 8, 2024 | Aug 7, 2024 |
| Ubuntu | — | Upgrade python3-djangoUpgrade python-django (Ubuntu Pro)Upgrade python3-django (Ubuntu Pro) | Aug 7, 2024 | Aug 6, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub