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.
History

Wed, 06 Nov 2024 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat satellite
Redhat satellite Capsule
CPEs cpe:/a:redhat:satellite:6.16::el8
cpe:/a:redhat:satellite:6.16::el9
cpe:/a:redhat:satellite_capsule:6.16::el8
cpe:/a:redhat:satellite_capsule:6.16::el9
Vendors & Products Redhat satellite
Redhat satellite Capsule

Sun, 08 Sep 2024 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2.4::el8
cpe:/a:redhat:ansible_automation_platform:2.4::el9
Vendors & Products Redhat
Redhat ansible Automation Platform

Tue, 03 Sep 2024 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 07 Aug 2024 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Djangoproject
Djangoproject django
CPEs cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
Vendors & Products Djangoproject
Djangoproject django
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 07 Aug 2024 19:30:00 +0000

Type Values Removed Values Added
Title python-django: Potential SQL injection in QuerySet.values() and values_list()
Weaknesses CWE-89
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate


Wed, 07 Aug 2024 14:30:00 +0000

Type Values Removed Values Added
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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2024-08-07T00:00:00

Updated: 2024-09-03T17:36:29.599Z

Reserved: 2024-07-26T00:00:00

Link: CVE-2024-42005

cve-icon Vulnrichment

Updated: 2024-09-03T17:35:00.414Z

cve-icon NVD

Status : Analyzed

Published: 2024-08-07T15:15:56.220

Modified: 2024-10-23T18:22:48.937

Link: CVE-2024-42005

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-08-06T13:00:00Z

Links: CVE-2024-42005 - Bugzilla