{"api_version":"1","generated_at":"2026-04-22T20:52:18+00:00","cve":"CVE-2021-3281","urls":{"html":"https://cve.report/CVE-2021-3281","api":"https://cve.report/api/cve/CVE-2021-3281.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3281","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3281"},"summary":{"title":"CVE-2021-3281","description":"In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by \"startapp --template\" and \"startproject --template\") allows directory traversal via an archive with absolute paths or relative paths with dot segments.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-02-02 07:15:00","updated_at":"2023-11-07 03:37:00"},"problem_types":["CWE-22"],"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":["Third Party Advisory"],"title":"Redirecting to Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.djangoproject.com/en/3.1/releases/security/","name":"https://docs.djangoproject.com/en/3.1/releases/security/","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"Archive of security issues | Django documentation | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20210226-0004/","name":"https://security.netapp.com/advisory/ntap-20210226-0004/","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"CVE-2021-3281 Django Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/","name":"FEDORA-2021-5329c680f7","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: python-django-3.0.12-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/","name":"FEDORA-2021-5329c680f7","refsource":"FEDORA","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 33 Update: python-django-3.0.12-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.djangoproject.com/weblog/2021/feb/01/security-releases/","name":"https://www.djangoproject.com/weblog/2021/feb/01/security-releases/","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"Django security releases issued: 3.1.6, 3.0.12, and 2.2.18 | Weblog | Django","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3281","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3281","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"djangoproject","cpe5":"django","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"snapcenter","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3281","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"snapcenter","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3281","qid":"14011","title":"Ansible Tower Security Update 3.8.2 Multiple Vulnerabilities"},{"cve":"CVE-2021-3281","qid":"180516","title":"Debian Security Update for python-django (CVE-2021-3281)"},{"cve":"CVE-2021-3281","qid":"181172","title":"Debian Security Update for python-django (DLA 3164-1)"},{"cve":"CVE-2021-3281","qid":"239639","title":"Red Hat Update for Red Hat OpenStack Platform 16.2 (python-django20) (RHSA-2021:3490)"},{"cve":"CVE-2021-3281","qid":"239944","title":"Red Hat Update for OpenStack Platform 16.1 (RHSA-2021:5070)"},{"cve":"CVE-2021-3281","qid":"239947","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-3281","qid":"239950","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-3281","qid":"239953","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-3281","qid":"239955","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-3281","qid":"239959","title":"Red Hat Update for OpenStack Platform 16.1"},{"cve":"CVE-2021-3281","qid":"501676","title":"Alpine Linux Security Update for py3-django"},{"cve":"CVE-2021-3281","qid":"980642","title":"Python (pip) Security Update for django (GHSA-fvgf-6h6h-3322)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-3281","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":"In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by \"startapp --template\" and \"startproject --template\") allows directory traversal via an archive with absolute paths or relative paths with dot segments."}]},"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/3.1/releases/security/","refsource":"MISC","name":"https://docs.djangoproject.com/en/3.1/releases/security/"},{"refsource":"CONFIRM","name":"https://www.djangoproject.com/weblog/2021/feb/01/security-releases/","url":"https://www.djangoproject.com/weblog/2021/feb/01/security-releases/"},{"refsource":"FEDORA","name":"FEDORA-2021-5329c680f7","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210226-0004/","url":"https://security.netapp.com/advisory/ntap-20210226-0004/"}]}},"nvd":{"publishedDate":"2021-02-02 07:15:00","lastModifiedDate":"2023-11-07 03:37:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"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":"3.1","versionEndExcluding":"3.1.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"3.0.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","versionStartIncluding":"2.2","versionEndExcluding":"2.2.18","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3281","Ordinal":"200939","Title":"CVE-2021-3281","CVE":"CVE-2021-3281","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3281","Ordinal":"1","NoteData":"In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by \"startapp --template\" and \"startproject --template\") allows directory traversal via an archive with absolute paths or relative paths with dot segments.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3281","Ordinal":"2","NoteData":"2021-02-02","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3281","Ordinal":"3","NoteData":"2021-02-26","Type":"Other","Title":"Modified"}]}}}