CVE-2020-24583
published 2020-09-01CVE-2020-24583: 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…
PriorityP347high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
3.97%
89.3th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | python-django | < python-django 2:2.2.16-1 (bookworm) | python-django 2:2.2.16-1 (bookworm) |
| djangoproject | django | >= 2.2 < 2.2.16 | 2.2.16 |
| djangoproject | django | >= 2.2a1 < 2.2.16 | 2.2.16 |
| djangoproject | django | >= 3.0 < 3.0.10 | 3.0.10 |
| djangoproject | django | >= 3.0a1 < 3.0.10 | 3.0.10 |
| djangoproject | django | >= 3.1 < 3.1.1 | 3.1.1 |
| djangoproject | django | >= 3.1a1 < 3.1.1 | 3.1.1 |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| oracle | zfs_storage_appliance_kit | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
django: incorrect permissions on intermediate-level directories on Python 3.7+
vendor_redhat·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CWE-276 django: incorrect permissions on intermediate-level directories on Python 3.7+
django: incorrect permissions on intermediate-level directories on Python 3.7+
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.
A flaw was found in django. The `FILE_UPLOAD_DIRECTORY_PERMISSIONS` mode was not applied to intermediate-level directories created when uploading files or to intermediate-level collected static directories when using the `collectstatic` management command. The highest threat from this vulnerability is to data confidentiality.
Statement: Th
Ubuntu
Django vulnerabilities
vendor_ubuntu·2020-09-01
CVE-2020-24583 Django vulnerabilities
Title: Django vulnerabilities
Summary: Several security issues were fixed in Django.
It was discovered that Django, when used with Python 3.7 or higher,
incorrectly handled directory permissions. A local attacker could possibly
use this issue to obtain sensitive information, or escalate permissions.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2020-24583: python-django - An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 ...
vendor_debian·2020·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583: python-django - An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 ...
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.
Scope: local
bookworm: resolved (fixed in 2:2.2.16-1)
bullseye: resolved (fixed in 2:2.2.16-1)
forky: resolved (fixed in 2:2.2.16-1)
sid: resolved (fixed in 2:2.2.16-1)
trixie: resolved (fixed in 2:2.2.16-1)
GHSA
Django Incorrect Default Permissions
ghsa·2021-03-18
CVE-2020-24583 [HIGH] CWE-276 Django Incorrect Default Permissions
Django Incorrect Default Permissions
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.
OSV
Django Incorrect Default Permissions
osv·2021-03-18
CVE-2020-24583 [HIGH] Django Incorrect Default Permissions
Django Incorrect Default Permissions
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.
OSV
CVE-2020-24583: An issue was discovered in Django 2
osv·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583: An issue was discovered in Django 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [epel-all]
bugzilla·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [epel-all]
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this i
Bugzilla
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [openstack-rdo]
bugzilla·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [openstack-rdo]
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
D
Bugzilla
CVE-2020-24583 django:1.6/python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
bugzilla·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583 django:1.6/python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
CVE-2020-24583 django:1.6/python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message
Bugzilla
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
bugzilla·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
CVE-2020-24583 python-django: django: incorrect permissions on intermediate-level directories on Python 3.7+ [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: th
Bugzilla
CVE-2020-24583 django: incorrect permissions on intermediate-level directories on Python 3.7+
bugzilla·2020-09-01·CVSS 7.5
CVE-2020-24583 [HIGH] CVE-2020-24583 django: incorrect permissions on intermediate-level directories on Python 3.7+
CVE-2020-24583 django: incorrect permissions on intermediate-level directories on Python 3.7+
On Python 3.7+, ``FILE_UPLOAD_DIRECTORY_PERMISSIONS`` mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using the ``collectstatic`` management command.
Reference:
https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
Discussion:
Created django:1.6/python-django tracking bugs for this issue:
Affects: fedora-all [bug 1874488]
Created python-django tracking bugs for this issue:
Affects: epel-all [bug 1874486]
Affects: fedora-all [bug 1874487]
Affects: openstack-rdo [bug 1874489]
---
Upstream fix:
https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cb
https://docs.djangoproject.com/en/dev/releases/security/https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDMhttps://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutUhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/https://security.netapp.com/advisory/ntap-20200918-0004/https://usn.ubuntu.com/4479-1/https://www.djangoproject.com/weblog/2020/sep/01/security-releases/https://www.openwall.com/lists/oss-security/2020/09/01/2https://www.oracle.com/security-alerts/cpujan2021.htmlhttps://docs.djangoproject.com/en/dev/releases/security/https://groups.google.com/forum/#%21topic/django-announce/Gdqn58RqIDMhttps://groups.google.com/forum/#%21topic/django-announce/zFCMdgUnutUhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI/https://security.netapp.com/advisory/ntap-20200918-0004/https://usn.ubuntu.com/4479-1/https://www.djangoproject.com/weblog/2020/sep/01/security-releases/https://www.openwall.com/lists/oss-security/2020/09/01/2https://www.oracle.com/security-alerts/cpujan2021.html
2020-09-01
Published