Vulnerability Details : CVE-2021-3281
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.
Vulnerability category: Directory traversal
Products affected by CVE-2021-3281
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3281
35.94%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 97 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3281
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2021-3281
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-3281
-
https://docs.djangoproject.com/en/3.1/releases/security/
Archive of security issues | Django documentation | DjangoPatch;Vendor Advisory
-
https://www.djangoproject.com/weblog/2021/feb/01/security-releases/
Django security releases issued: 3.1.6, 3.0.12, and 2.2.18 | Weblog | DjangoVendor Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YF52FKEH5S2P5CM4X7IXSYG67YY2CDOO/
[SECURITY] Fedora 33 Update: python-django-3.0.12-1.fc33 - package-announce - Fedora Mailing-ListsThird Party Advisory
-
https://security.netapp.com/advisory/ntap-20210226-0004/
CVE-2021-3281 Django Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://groups.google.com/forum/#!forum/django-announce
django-announce - Google GroupsThird Party Advisory
Jump to