CVE-2021-31542Published May 5, 2021 · May 5Updated 4d ago
Path Traversal in Django
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
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.
From the CVE record · mitre
Django's MultiPartParser, UploadedFile, and FieldFile allow directory traversal through uploaded files with suitably crafted names. The issue occurs when affected versions process such files; the input does not specify authentication requirements or other user interaction.
Teams running the PyPI django package in versions 2.2 before 2.2.21, 3.0 or 3.1 before 3.1.9, or 3.2 before 3.2.1 should check their installations.