CVE-2020-24583

Name
CVE-2020-24583
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Third Party Advisory https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
Mailing List https://www.openwall.com/lists/oss-security/2020/09/01/2
Third Party Advisory https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
Vendor Advisory https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
Patch https://docs.djangoproject.com/en/dev/releases/security/
Third Party Advisory https://usn.ubuntu.com/4479-1/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/
CONFIRM https://security.netapp.com/advisory/ntap-20200918-0004/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/
MISC https://www.oracle.com/security-alerts/cpujan2021.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 2.2 < 2.2.16
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 3.0 < 3.0.10
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 3.1 < 3.1.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py-django 3.10-main 1.11.29-r1 Natanael Copa <ncopa@alpinelinux.org> fixed
py3-django edge-community 3.1.1-r0 None fixed
py3-django 3.22-community 3.1.1-r0 None fixed
py3-django 3.21-community 3.1.1-r0 None fixed
py3-django 3.20-community 3.1.1-r0 None fixed
py3-django 3.19-community 3.1.1-r0 None fixed
py3-django 3.18-community 3.1.1-r0 None fixed
py3-django 3.17-community 3.1.1-r0 None fixed
py3-django 3.12-main 1.11.29-r1 None fixed
py3-django 3.11-main 1.11.29-r1 Natanael Copa <ncopa@alpinelinux.org> fixed