CVE-2024-42005

high

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.

References

https://www.djangoproject.com/weblog/2024/aug/06/security-releases/

https://groups.google.com/forum/#%21forum/django-announce

https://docs.djangoproject.com/en/dev/releases/security/

Details

Source: Mitre, NVD

Published: 2024-08-07

Updated: 2024-10-23

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Severity: High