VDB
KO

PYSEC-2021-7

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / django
Introduced in: 2.2 Fixed in: 2.2.21
Fix pip install --upgrade 'django>=2.2.21'

References