{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-34265","published":"2022-07-04T16:15:09.260000Z","last_modified":"2026-06-17T04:50:00.523000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"3.2","version_end_excluding":"3.2.14"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_start_including":"4.0","version_end_excluding":"4.0.6"}],"cpes_truncated":false,"vendors":["djangoproject"],"products":["djangoproject/django"],"epss":{"score":0.21328,"percentile":0.98129,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p64x-8rxx-wf6q","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"3.2a1","fixed":"3.2.14"}],"versions":["3.2","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.2.9","3.2a1","3.2b1","3.2rc1"],"versions_truncated":false},{"advisory":"GHSA-p64x-8rxx-wf6q","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"4.0a1","fixed":"4.0.6"}],"versions":["4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0a1","4.0b1","4.0rc1"],"versions_truncated":false},{"advisory":"PYSEC-2022-213","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"3.2","fixed":"3.2.14"},{"introduced":"4.0","fixed":"4.0.6"}],"versions":["3.2","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.2.9","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5"],"versions_truncated":false}],"severity":"critical","priority_score":76,"links":{"html_es":"/es/cve/CVE-2022-34265/","html_en":"/en/cve/CVE-2022-34265/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-34265","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-34265"},"untrusted":{"vendor_name":"Djangoproject","product_name":"Django","desc_en":"An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.","affected":[],"references":[{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","tags":["Patch","Vendor Advisory"]},{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220818-0006/","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5254","tags":["Third Party Advisory"]},{"url":"https://www.djangoproject.com/weblog/2022/jul/04/security-releases/","tags":["Patch","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11270-1","url":"https://www.suse.com/support/update/","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django5-5.2.16-1.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:11235-1","url":"https://www.suse.com/support/update/","published":"2026-07-09T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-Django4-4.2.30-4.1 on GA media"}},{"source":"suse","id":"openSUSE-SU-2026:10005-1","url":"https://www.suse.com/support/update/","published":"2026-01-03T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python312-Django6-6.0-1.1 on GA media"}}]}