Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.15 |
Related Weaknesses (CWE)
References
- https://docs.djangoproject.com/en/dev/releases/security/PatchVendor Advisory
- https://groups.google.com/forum/#%21forum/django-announceNot Applicable
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases/Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240905-0007/
FAQ
What is CVE-2024-42005?
CVE-2024-42005 is a vulnerability with a CVSS score of 7.3 (HIGH). 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 cr...
How severe is CVE-2024-42005?
CVE-2024-42005 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-42005?
Check the references section above for vendor advisories and patch information. Affected products include: Djangoproject Django.