CVE-2020-24583

NameCVE-2020-24583
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs969367

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)stretch (security), stretch1:1.10.7-2+deb9u9fixed
buster, buster (security)1:1.11.29-1~deb10u1vulnerable
bullseye, sid2:2.2.16-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosourcestretch(not affected)
python-djangosource(unstable)2:2.2.16-1969367

Notes

[buster] - python-django <postponed> (Fix along in future DSA)
[stretch] - python-django <not-affected> (Requires Python 3.7+)
https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9 (master)
https://github.com/django/django/commit/934430d22aa5d90c2ba33495ff69a6a1d997d584 (3.1.1)
https://github.com/django/django/commit/08892bffd275c79ee1f8f67639eb170aaaf1181e (3.0.10)
https://github.com/django/django/commit/375657a71c889c588f723469bd868bd1d40c369f (2.2.16)

Search for package or bug name: Reporting problems