VDB
Sign up
—

PYSEC-2020-33

Quick fix

PYSEC-2020-33 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.16'

Details

An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References