CVE-2020-24583: django: incorrect permissions on intermediate-level directories on Pyt | OX.Radar
Breaking: Ruby2Shell - Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-24583

django: incorrect permissions on intermediate-level directories on Python 3.7+

Overview

Published
1 Sep 2020
Modified
17 Jun 2026
High CVE
2 Registry packages
24 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

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

Weakness: CWE-276

Affected packages · 2

Packages affected by CVE-2020-24583
EcosystemPackageVulnerableFixed in
Bitnami django >=2.2.0, <2.2.16>=3.0.0, <3.0.10>=3.1.0, <3.1.1 2.2.163.0.103.1.1
PyPI django >=2.2a1, <2.2.16>=3.0a1, <3.0.10>=3.1a1, <3.1.1 2.2.163.0.103.1.1

Open a package to see all its vulnerabilities.

Operating systems · 22 fixes

Red Hat 3 releases · 2 packages

eol 3
python2-django-doc python-django
Red Hat fixes for CVE-2020-24583
ReleasePackageFixed in
python2-django-doc eol
7 python-django +3 eol
8 python-django +2 eol

alpine 4 releases · 1 package

fixed 4
py3-django
alpine fixes for CVE-2020-24583
ReleasePackageFixed in
3.22 py3-django 3.1.1-r0
3.23 py3-django 3.1.1-r0
3.24 py3-django 3.1.1-r0
edge py3-django 3.1.1-r0

debian 5 releases · 1 package

fixed 5
python-django
debian fixes for CVE-2020-24583
ReleasePackageFixed in
10 python-django 1:1.11.29-1+deb10u2
11 python-django 2:2.2.16-1
12 python-django 2:2.2.16-1
13 python-django 2:2.2.16-1
14 python-django 2:2.2.16-1

echo 1 release · 1 package

fixed 1
python-django
echo fixes for CVE-2020-24583
ReleasePackageFixed in
python-django 2:2.2.16-1

openSUSE 1 release · 7 packages

fixed 7
python36-django python310-django python310-django4 python313-django4 python313-django python313-django5 +1
openSUSE fixes for CVE-2020-24583
ReleasePackageFixed inAdvisory
Tumbleweed python36-django +2 3.2.7-2.3 openSUSE-SU-2024:11205-1
Tumbleweed python310-django +2 4.2.11-2.1 openSUSE-SU-2024:13887-1
Tumbleweed python310-django4 +2 4.2.14-1.1 openSUSE-SU-2024:14208-1
Tumbleweed python313-django4 +1 4.2.30-4.1 openSUSE-SU-2026:11235-1
Tumbleweed python313-django +1 5.2.16-1.1 openSUSE-SU-2026:11248-1
Tumbleweed python313-django5 +1 5.2.16-1.1 openSUSE-SU-2026:11270-1

1 more row

ubuntu 2 releases · 1 package

fixed 2
python-django
ubuntu fixes for CVE-2020-24583
ReleasePackageFixed in
20.04 python-django 2:2.2.12-1ubuntu0.2
20.04-ESM python-django 2:2.2.12-1ubuntu0.2

References

Show all 28 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.