CVE-2021-28658

MEDIUM

Django 2.2-2.2.19, 3.0-3.0.13, 3.1-3.1.7 - Path Traversal via Multipart File Upload

Title source: llm
STIX 2.1

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.

References (6)

Core 6
Core References
Mailing List, Third Party Advisory x_refsource_misc
https://groups.google.com/g/django-announce/c/ePr5j-ngdPU
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/04/msg00008.html
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210528-0001/

Scores

CVSS v3 5.3
EPSS 0.0386
EPSS Percentile 88.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-22
Status published
Products (4)
debian/debian_linux 9.0
djangoproject/django 2.2 - 2.2.20
fedoraproject/fedora 34
pypi/Django 2.2a1 - 2.2.20PyPI
Published Apr 06, 2021
Tracked Since Feb 18, 2026