VDB
Sign up
MEDIUM5.3

PYSEC-2021-6

Quick fix

PYSEC-2021-6 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.20'

Details

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 2.2Fixed in: 2.2.20
Fixpip install --upgrade 'django>=2.2.20'

References