VDB

CVE-2020-24583

CVE-2020-24583 PUBLISHED CVSS 7.5 HIGH

Django Incorrect Default Permissions

Reported by mitre · Published September 1, 2020

django is fixed in 3.1.1, 3.0.10 and 2.2.16 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI3.1.1, 3.0.10, 2.2.16
python-djangoArch Linux3.1.1-1
py-djangoAlpine1.11.29-r1
py3-djangoAlpine3.1.1-r0, 1.11.29-r1
djangodjangoproject3.1.1, 3.0.10, 2.2.16
python-djangoUbuntu:20.04:LTS2:2.2.12-1ubuntu0.2

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
archpython-django0
alpinepy-django0
PyPIDjango3.1a1, 2.2a1, 3.0a1
alpinepy3-django0, 0
n/an/a*

Timeline

  • Sep 1, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-24583
vulnetix vdb fixes CVE-2020-24583

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-24583/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›