SQL Injection in Djangoproject Django

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.

Vulnerability class: SQL Injection

EPSS: 0.015 (71.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-42005?
CVE-2024-42005 is a high-severity vulnerability in Djangoproject Django, classified under SQL Injection. CVSS score: 7.3/10. Published 2024-08-07.
How severe is CVE-2024-42005?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2024-42005 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.