GHSA-fr28-569j-53c4
MODERATE
Django Incorrect Default Permissions
Published March 18, 2021Updated November 19, 2024Source: osv
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.
Remediation
Upgrade to the fixed version using your package manager.
pip
Update django to 3.0.10 or laterpip install "django>=3.0.10"
pip
Update django to 2.2.16 or laterpip install "django>=2.2.16"
pip
Update django to 3.1.1 or laterpip install "django>=3.1.1"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-276Incorrect Default PermissionsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 3.1 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-24584ADVISORY
- https://github.com/django/django/commit/1853724acaf17ed7414d54c7d2b5563a25025a71WEB
- https://github.com/django/django/commit/2b099caa5923afa8cfb5f1e8c0d56b6e0e81915bWEB
- https://github.com/django/django/commit/a3aebfdc8153dc230686b6d2454ccd32ed4c9e6fWEB
- https://github.com/django/django/commit/cdb367c92a0ba72ddc0cbd13ff42b0e6df709554WEB
- https://www.oracle.com/security-alerts/cpujan2021.htmlWEB
- https://www.openwall.com/lists/oss-security/2020/09/01/2WEB
- https://www.djangoproject.com/weblog/2020/sep/01/security-releasesWEB
- https://usn.ubuntu.com/4479-1WEB
- https://security.netapp.com/advisory/ntap-20200918-0004WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GIWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3TWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAUWEB
- https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutUWEB
- https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDMWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-34.yamlWEB
- https://github.com/django/djangoPACKAGE
- https://github.com/advisories/GHSA-fr28-569j-53c4ADVISORY
- https://docs.djangoproject.com/en/dev/releases/securityWEB
Risk Assessment
CVSS Score
3.1
Exploitation is difficult or impact is minor. Address in your next planned update.
EPSS Score (30-day exploit probability)
3.29%
Higher than 87% of vulnerabilities
Also Known As
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies