Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2020-24583

CVE-2020-24583: Django Incorrect Default Permissions

March 18, 2021 (updated September 18, 2024)

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.

References

  • docs.djangoproject.com/en/dev/releases/security
  • github.com/advisories/GHSA-m6gj-h9gm-gw44
  • github.com/django/django
  • github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml
  • groups.google.com/forum/
  • groups.google.com/forum/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI
  • nvd.nist.gov/vuln/detail/CVE-2020-24583
  • security.netapp.com/advisory/ntap-20200918-0004
  • usn.ubuntu.com/4479-1
  • www.djangoproject.com/weblog/2020/sep/01/security-releases
  • www.openwall.com/lists/oss-security/2020/09/01/2
  • www.oracle.com/security-alerts/cpujan2021.html

Code Behaviors & Features

Detect and mitigate CVE-2020-24583 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.2a1 before 2.2.16, all versions starting from 3.0a1 before 3.0.10, all versions starting from 3.1a1 before 3.1.1

Fixed versions

  • 2.2.16
  • 3.0.10
  • 3.1.1

Solution

Upgrade to versions 2.2.16, 3.0.10, 3.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

pypi/Django/CVE-2020-24583.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:38 +0000.