CVE-2021-28658Path Traversal in Django

CWE-22Path Traversal8 documents7 sources
Severity
5.3MEDIUMNVD
EPSS
1.5%
top 18.80%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 6
Latest updateApr 8

Description

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitability: 3.9 | Impact: 1.4

Affected Packages2 packages

NVDdjangoproject/django2.22.2.20+2
PyPIdjangoproject/django2.2a12.2.20+2

Also affects: Debian Linux 9.0, Fedora 34

🔴Vulnerability Details

4
GHSA
Directory Traversal in Django2021-04-08
OSV
Directory Traversal in Django2021-04-08
OSV
CVE-2021-28658: In Django 22021-04-06
CVEList
CVE-2021-28658: In Django 22021-04-06

📋Vendor Advisories

3
Red Hat
django: potential directory-traversal via uploaded files2021-04-06
Ubuntu
Django vulnerability2021-04-06
Debian
CVE-2021-28658: python-django - In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartP...2021
CVE-2021-28658 — Path Traversal in Djangoproject Django | cvebase