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

03 Sep 2024, 18:35

Type Values Removed Values Added
Summary
  • (es) Se descubrió un problema en Django 5.0 anterior a 5.0.8 y 4.2 anterior a 4.2.15. Los métodos QuerySet.values() y value_list() en modelos con JSONField están sujetos a inyección SQL en alias de columna a través de una clave de objeto JSON diseñada como un *arg pasado.

07 Aug 2024, 20:48

Type Values Removed Values Added
CWE CWE-89
References () https://docs.djangoproject.com/en/dev/releases/security/ - () https://docs.djangoproject.com/en/dev/releases/security/ - Patch, Vendor Advisory
References () https://groups.google.com/forum/#%21forum/django-announce - () https://groups.google.com/forum/#%21forum/django-announce - Not Applicable
References () https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ - () https://www.djangoproject.com/weblog/2024/aug/06/security-releases/ - Vendor Advisory
First Time Djangoproject
Djangoproject django
CPE cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

07 Aug 2024, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-07 15:15

Updated : 2024-09-03 18:35


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')