CVE-2024-42005 is a SQL injection vulnerability affecting Django versions 5.0 before 5.0.8 and 4.2 before 4.2.15. This flaw allows an attacker to inject malicious SQL into column aliases when using QuerySet.values() and values_list() methods on models with a JSONField, by crafting a malicious JSON object key. Rated as HIGH severity (CVSS 7.3), it is a network-exploitable vulnerability with low attack complexity, potentially leading to limited impact on confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, and no public exploit code is available in Metasploit, Nuclei, or ExploitDB, though it has garnered significant community discussion.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 4.2, < 4.2.15CPE matchmatch criteria | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | ||
>= 5.0, < 5.0.8CPE matchmatch criteria | cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.