CVE-2024-42005
Last modified
CVE-2024-42005 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.. EPSS estimates a 1.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.15 |
| Djangoproject | Django | >= 5.0, < 5.0.8 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-42005?
How severe is CVE-2024-42005?
How do I fix CVE-2024-42005?
Are you affected by CVE-2024-42005?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
