PT-2021-4548 · Django+4 · Django+4
Jasu Viding
·
Published
2021-05-04
·
Updated
2026-01-03
·
CVE-2021-31542
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Django versions 2.2 through 2.2.20
Django versions 3.1 through 3.1.8
Django versions 3.2 through 3.2.0
Description
The issue is related to the lack of restrictions on file uploads in the Django web application platform, specifically in the MultiPartParser, UploadedFile, and FieldFile components. This can be exploited by a remote attacker to access confidential data using files with specially crafted names, allowing directory traversal via uploaded files.
Recommendations
For Django versions 2.2 through 2.2.20, update to version 2.2.21 or later.
For Django versions 3.1 through 3.1.8, update to version 3.1.9 or later.
For Django versions 3.2 through 3.2.0, update to version 3.2.1 or later.
Fix
Unrestricted File Upload
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Django
Linuxmint
Ubuntu