NetSight
high7.5

CVE-2020-24583

Django Incorrect Default Permissions

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipDjango>= 2.2a1, < 2.2.162.2.16

Affected products

VendorProductAffected versions
DjangoprojectDjango
from 2.2 before 2.2.16
from 3.0 before 3.0.10
from 3.1 before 3.1.1
CanonicalUbuntu Linux
Version 20.04
FedoraprojectFedora
Versions 31, 32, 33
OracleZfs Storage Appliance Kit
Version 8.8

Weakness classification

References