#VU50172 Path traversal in Django - CVE-2021-3281

 

#VU50172 Path traversal in Django - CVE-2021-3281

Published: February 1, 2021 / Updated: July 5, 2021


Vulnerability identifier: #VU50172
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-3281
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Django
Software vendor:
Django Software Foundation

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences inside archives with "django.utils.archive.extract()" function. A remote attacker can pass specially crafted archive to the application and write files to arbitrary directory on the system.


Remediation

Install update from vendor's website.

External links