CVE-2024-42005
Last modified
CVE-2024-42005 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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.. EPSS estimates a 1.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.15 |
| Djangoproject | Django | >= 5.0, < 5.0.8 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-42005?
How severe is CVE-2024-42005?
How do I fix CVE-2024-42005?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-41997An issue was discovered in version of Warp Terminal prior to…6.6
- CVE-2024-41999Smart-tab Android app installed April 2023 or earlier contai…6.8
- CVE-2024-4200In Progress® Telerik® Reporting versions prior to 2024 Q2 (1…7.8
- CVE-2024-42000Mattermost versions 9.10.x <= 9.10.2, 9.11.x <= 9.11.1, 9.5.…4.3
- CVE-2024-42001An improper authentication vulnerability affecting Vonets …9.8
- CVE-2024-42004A library injection vulnerability exists in Microsoft Teams …9.8
- CVE-2024-42006Keyfactor AWS Orchestrator through 2.0 allows Information Di…7.5
- CVE-2024-42007SPX (aka php-spx) through 0.4.15 allows SPX_UI_URI Directory…5.8
- CVE-2024-42008A Cross-Site Scripting vulnerability in rcmail_action_mail_g…9.3
- CVE-2024-42009A Cross-Site Scripting vulnerability in Roundcube through 1.…9.3
- CVE-2024-4201A cross-site scripting issue has been discovered in GitLab a…4.4
- CVE-2024-42010mod_css_styles in Roundcube through 1.5.7 and 1.6.x through …7.5
Are you affected by CVE-2024-42005?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
