{"id":"BIT-django-2024-42005","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.","aliases":["CVE-2024-42005","GHSA-pv4p-cwwg-4rph","PYSEC-2024-70"],"modified":"2025-11-06T13:25:46.476Z","published":"2024-08-08T07:17:01.495Z","database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"WEB","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/"}],"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"}]}],"schema_version":"1.7.3"}