Incorrect default permissions in Django - CVE-2020-24584
Published: September 11, 2020
Vulnerability identifier: #VU46660
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-24584
CWE-ID: CWE-276
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to escalate privileges on the system.
The vulnerability exists due to the intermediate-level directories of the filesystem cache have the system's standard umask rather than 0o077. A remote attacker can view contents of files and directories.
Affected software
Django
Arch Linux
Ubuntu
Fedora
py3-django (Alpine package)
py-django (Alpine package)
python3-django (Ubuntu package)
python-django
Arch Linux
Ubuntu
Fedora
py3-django (Alpine package)
py-django (Alpine package)
python3-django (Ubuntu package)
python-django
How to mitigate CVE-2020-24584
Install updates from vendor's website.
Django - addressed in versions 2.2.16, 3.0.10, 3.1.1
py-django (Alpine package) - update to 1.11.29-r1
python3-django (Ubuntu package) - update to 2:2.2.12-1ubuntu0.28
python-django - addressed in versions 2.2.16-1.fc31, 3.0.10-3.fc32, 3.0.10-3.fc33
py-django (Alpine package) - update to 1.11.29-r1
python3-django (Ubuntu package) - update to 2:2.2.12-1ubuntu0.28
python-django - addressed in versions 2.2.16-1.fc31, 3.0.10-3.fc32, 3.0.10-3.fc33
External References
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
- https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
- https://usn.ubuntu.com/4479-1/
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
- https://www.openwall.com/lists/oss-security/2020/09/01/2
Related Security Bulletins
- Multiple vulnerabilities in Django
- Arch Linux update for python-django
- Incorrect default permissions in py3-django (Alpine package)
- Incorrect default permissions in py-django (Alpine package)
- Ubuntu update for python-django
- Fedora 33 update for python-django
- Fedora 32 update for python-django
- Fedora 31 update for python-django