{"id":"CVE-2024-42005","aliases":["BIT-django-2024-42005","GHSA-pv4p-cwwg-4rph","PYSEC-2024-70"],"url":"https://o3.security/vulnerability/CVE-2024-42005","summary":"Django SQL injection vulnerability","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.","published":"2024-08-07T00:00:00Z","modified":"2026-08-12T03:51:24.878921047Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01503,"percentile":0.73069,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"5.0.8"},{"ecosystem":"PyPI","name":"django","fixedVersion":"4.2.15"}],"fix":null,"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42005.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42005"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240905-0007/"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2024/aug/06/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:24.878921047Z"}}