ADVISORIES

GitHub Advisory Database

GHSA-fr28-569j-53c4

Django Incorrect Default Permissions

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). The intermediate-level directories of the filesystem cache had the system's standard umask rather than 0o077.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 2.2 before 2.2.16 (fixed in 2.2.16)
PyPIdjango
From 3.0 before 3.0.10 (fixed in 3.0.10)
PyPIdjango
From 3.1 before 3.1.1 (fixed in 3.1.1)

References