CVE-2024-42005

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-08-07 15:15

Updated : 2024-10-23 18:22


NVD link : CVE-2024-42005

Mitre link : CVE-2024-42005

CVE.ORG link : CVE-2024-42005


JSON object : View

Products Affected

djangoproject

  • django
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')