SQL Injection Affecting django package, versions [,4.2.15) [5.0,5.0.8)
Threat Intelligence
EPSS
0.05% (22nd
percentile)
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-7642814
- published 7 Aug 2024
- disclosed 6 Aug 2024
- credit Eyal Gabay of EyalSec
Introduced: 6 Aug 2024
CVE-2024-42005 Open this link in a new tabHow to fix?
Upgrade django
to version 4.2.15, 5.0.8 or higher.
Overview
Affected versions of this package are vulnerable to SQL Injection via the QuerySet.values()
and values_list()
methods on models with a JSONField
.
An attacker can exploit this vulnerability through column aliases by using a maliciously crafted JSON object object key as a passed *arg
.