GitHub Advisoryadvisory · PyPI
GHSA-m6gj-h9gm-gw44 Django Incorrect Default Permissions
HIGH
Official page ↗
- Aliases
- CVE-2020-24583
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-276
- Reviewed
- 2021-03-13
Affected packages
• PyPI Django: >= 2.2a1, < 2.2.16 → fixed in 2.2.16
• PyPI Django: >= 3.0a1, < 3.0.10 → fixed in 3.0.10
• PyPI Django: >= 3.1a1, < 3.1.1 → fixed in 3.1.1
Description
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.
Related
Alias · CVE (1)
- CVE-2020-24583 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). vulnerability
Weakness · CWE (1)
- CWE-276 Incorrect Default Permissions weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-24583 advisory
- https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9 web
- https://docs.djangoproject.com/en/dev/releases/security web
- https://github.com/advisories/GHSA-m6gj-h9gm-gw44 advisory
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml web
- https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM web
- https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI web
- https://security.netapp.com/advisory/ntap-20200918-0004 web
- https://usn.ubuntu.com/4479-1 web
- https://www.djangoproject.com/weblog/2020/sep/01/security-releases web
- https://www.openwall.com/lists/oss-security/2020/09/01/2 web
- https://www.oracle.com/security-alerts/cpujan2021.html web