CVEvulnerability
CVE-2021-3281
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-02-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-22
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.
Affected configurations
• djangoproject django (>= 2.2 < 2.2.18)
• djangoproject django (>= 3.0 < 3.0.12)
• djangoproject django (>= 3.1 < 3.1.6)
• fedoraproject fedora 33
• netapp snapcenter
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://docs.djangoproject.com/en/3.1/releases/security/ Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announce groups.google.com
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20210226-0004/ Third Party Advisory
- https://www.djangoproject.com/weblog/2021/feb/01/security-releases/ Vendor Advisory
- https://docs.djangoproject.com/en/3.1/releases/security/ Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announce groups.google.com
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20210226-0004/ Third Party Advisory
- https://www.djangoproject.com/weblog/2021/feb/01/security-releases/ Vendor Advisory