CVE-2024-42005

HIGH

Django < 4.2.15 - SQL Injection

Title source: rule

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.

Scores

CVSS v3 7.3
EPSS 0.0033
EPSS Percentile 55.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE
CWE-89
Status published

Affected Products (2)

djangoproject/django < 4.2.15
pypi/Django < 5.0.8PyPI

Timeline

Published Aug 07, 2024
Tracked Since Feb 18, 2026