Published: 1 September 2020
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.
CVSS 3 base score: 7.5
This issue is caused by a behavioural change in Python 3.7. While python3.7 is available for bionic, it doesn't replace python3.6, so bionic is not affected by this issue.