{"schema_version":"1.9.0","id":"BIT-django-2024-42005","published":"2024-08-08T07:17:01.495Z","modified":"2026-09-08T08:46:35.586516829Z","aliases":["CVE-2024-42005","GHSA-pv4p-cwwg-4rph","PYSEC-2024-70"],"details":"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.","affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.2.0"},{"fixed":"4.2.15"},{"introduced":"5.0.0"},{"fixed":"5.0.8"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2024-42005.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}],"references":[{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2024/aug/06/security-releases/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42005"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240905-0007/"}],"database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"],"severity":"High"}}