Path Traversal in Djangoproject Django
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 class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.076 (94.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.076 · newest: 0.076 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- groups.google.com/forum/
- docs.djangoproject.com/en/3.1/releases/security/ (Patch, Vendor Advisory)
- www.djangoproject.com/weblog/2021/feb/01/security-releases/ (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20210226-0004/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-3281?
- CVE-2021-3281 is a medium-severity vulnerability in Djangoproject Django, classified under Path Traversal. CVSS score: 5.3/10. Published 2021-02-02.
- How severe is CVE-2021-3281?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-3281 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.