{"api_version":"1","generated_at":"2026-04-22T19:19:37+00:00","cve":"CVE-2022-28346","urls":{"html":"https://cve.report/CVE-2022-28346","api":"https://cve.report/api/cve/CVE-2022-28346.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-28346","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-28346"},"summary":{"title":"CVE-2022-28346","description":"An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-04-12 05:15:00","updated_at":"2023-11-07 03:45:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","name":"https://groups.google.com/forum/#%21forum/django-announce","refsource":"","tags":[],"title":"Redirecting to Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#!forum/django-announce","name":"https://groups.google.com/forum/#!forum/django-announce","refsource":"MISC","tags":[],"title":"Redirecting to Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/","name":"FEDORA-2023-a53ab7c969","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: python-django-4.0.10-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/04/11/1","name":"http://www.openwall.com/lists/oss-security/2022/04/11/1","refsource":"MISC","tags":[],"title":"oss-security - Django: CVE-2022-28346: Potential SQL injection in\n ``QuerySet.annotate()``, ``aggregate()``, and ``extra()``","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","name":"https://docs.djangoproject.com/en/4.0/releases/security/","refsource":"MISC","tags":[],"title":"Archive of security issues | Django documentation | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20220609-0002/","name":"https://security.netapp.com/advisory/ntap-20220609-0002/","refsource":"CONFIRM","tags":[],"title":"CVE-2022-28346 Django Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html","name":"[debian-lts-announce] 20220414 [SECURITY] [DLA 2982-1] python-django security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2982-1] python-django security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","name":"FEDORA-2023-8fed428c5e","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: python-django-4.0.10-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/","name":"FEDORA-2023-a53ab7c969","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: python-django-4.0.10-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","name":"FEDORA-2023-8fed428c5e","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: python-django-4.0.10-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/","name":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/","refsource":"MISC","tags":[],"title":"Django security releases issued: 4.0.4, 3.2.13, and 2.2.28 | Weblog | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2022/dsa-5254","name":"DSA-5254","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5254-1 python-django","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-28346","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28346","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"28346","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"28346","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"28346","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-28346","qid":"179192","title":"Debian Security Update for python-django (DLA 2982-1)"},{"cve":"CVE-2022-28346","qid":"181137","title":"Debian Security Update for python-django (DSA 5254-1)"},{"cve":"CVE-2022-28346","qid":"182406","title":"Debian Security Update for python-django (CVE-2022-28346)"},{"cve":"CVE-2022-28346","qid":"198736","title":"Ubuntu Security Notification for Django Vulnerabilities (USN-5373-1)"},{"cve":"CVE-2022-28346","qid":"240488","title":"Red Hat Update for OpenStack Platform 16.2 (RHSA-2022:5115)"},{"cve":"CVE-2022-28346","qid":"240566","title":"Red Hat Update for Satellite 6.11 Release (RHSA-2022:5498)"},{"cve":"CVE-2022-28346","qid":"240972","title":"Red Hat Update for OpenStack Platform 16.1.9 (RHSA-2022:8872)"},{"cve":"CVE-2022-28346","qid":"283945","title":"Fedora Security Update for python (FEDORA-2023-8fed428c5e)"},{"cve":"CVE-2022-28346","qid":"284167","title":"Fedora Security Update for python (FEDORA-2023-a53ab7c969)"},{"cve":"CVE-2022-28346","qid":"296064","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 46.119.2 Missing (CPUAPR2022)"},{"cve":"CVE-2022-28346","qid":"502341","title":"Alpine Linux Security Update for py3-django"},{"cve":"CVE-2022-28346","qid":"505304","title":"Alpine Linux Security Update for py3-django"},{"cve":"CVE-2022-28346","qid":"690837","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for django (0db46f84-b9fa-11ec-89df-080027240888)"},{"cve":"CVE-2022-28346","qid":"960505","title":"Rocky Linux Security Update for Satellite (RLSA-2022:5498)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-28346","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://groups.google.com/forum/#!forum/django-announce","refsource":"MISC","name":"https://groups.google.com/forum/#!forum/django-announce"},{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","refsource":"MISC","name":"https://docs.djangoproject.com/en/4.0/releases/security/"},{"refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2022/04/11/1","url":"http://www.openwall.com/lists/oss-security/2022/04/11/1"},{"refsource":"MISC","name":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/","url":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220414 [SECURITY] [DLA 2982-1] python-django security update","url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220609-0002/","url":"https://security.netapp.com/advisory/ntap-20220609-0002/"},{"refsource":"DEBIAN","name":"DSA-5254","url":"https://www.debian.org/security/2022/dsa-5254"},{"refsource":"FEDORA","name":"FEDORA-2023-8fed428c5e","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/"},{"refsource":"FEDORA","name":"FEDORA-2023-a53ab7c969","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/"}]}},"nvd":{"publishedDate":"2022-04-12 05:15:00","lastModifiedDate":"2023-11-07 03:45:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"4.0.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"3.2.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"2.2","versionEndExcluding":"2.2.28","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}