CVE-2021-31542

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
05/05/2021
Last modified:
07/12/2023

Description

In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 2.2 (including) 2.2.21 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 3.1 (including) 3.1.9 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 3.2 (including) 3.2.1 (excluding)
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*