CVEvulnerability
CVE-2024-42005
7.3 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-08-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
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.
Affected configurations
• djangoproject django (>= 4.2 < 4.2.15)
• djangoproject django (>= 5.0 < 5.0.8)
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://docs.djangoproject.com/en/dev/releases/security/ Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announce Not Applicable
- https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240905-0007/ security.netapp.com