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.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- lwzSoviet/CVE-2021-3281 (2 stars, last pushed 2021-07-05)
Also mentioned in 4 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection, HxDDD/CVE-PoC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- FEDORA-2021-5329c680f7 (vendor-advisory)
- security.netapp.com/advisory/ntap-20210226-0004/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.