CVEvulnerability

CVE-2021-31542

7.5 HIGH Published 2021-05-05 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-05-05
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-22

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.

Affected configurations

• djangoproject django (>= 2.2 < 2.2.21) • djangoproject django (>= 3.1 < 3.1.9) • djangoproject django (>= 3.2 < 3.2.1) • debian debian linux 9.0 • fedoraproject fedora 34 • fedoraproject fedora 35

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References