Django Incorrect Default Permissions
High severity
GitHub Reviewed
Published
Mar 18, 2021
to the GitHub Advisory Database
•
Updated Sep 18, 2024
Package
Affected versions
>= 2.2a1, < 2.2.16
>= 3.0a1, < 3.0.10
>= 3.1a1, < 3.1.1
Patched versions
2.2.16
3.0.10
3.1.1
Description
Published by the National Vulnerability Database
Sep 1, 2020
Reviewed
Mar 13, 2021
Published to the GitHub Advisory Database
Mar 18, 2021
Last updated
Sep 18, 2024
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.
References