django
Affected
- introduced
2.2a1, fixed2.2.16(ecosystem)
Fixed versions
2.2.16
Fix
- Fixed version
2.2.16pip install --upgrade django==2.2.16
Advisory
Also known as: BIT-django-2020-24583, CVE-2020-24583, PYSEC-2020-33
Django Incorrect Default Permissions
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.
High Basis: The source's own band: HIGH
2.2a1, fixed 2.2.16 (ecosystem)2.2.16
2.2.16pip install --upgrade django==2.2.163.0a1, fixed 3.0.10 (ecosystem)3.0.10
3.0.10pip install --upgrade django==3.0.103.1a1, fixed 3.1.1 (ecosystem)3.1.1
3.1.1pip install --upgrade django==3.1.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0