VULNERABILITY INTELLIGENCE
CVE-2024-42005
CVSS score7.3 HIGH
EPSS probability1.50%
CISA KEVNot currently listed
Published2024-08-07
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
Weakness classification
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Primary references
- cve@mitre.org — Patch, Vendor Advisory
- cve@mitre.org — Not Applicable
- cve@mitre.org — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108