django-filer: Missing per-object authorization on `discard` and `edit_redirect` version transitions
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| django-cmsdjango-filer | — | Not listed |
| PyPIdjango-filer |
< 3.5.0→ 3.5.0 |
3.5.0 |
| pipdjango-filer |
< 3.5.0→ 3.5.0 |
3.5.0 |
Original description The description as published by the source.
django-filer is a file and image management application for Django. Prior to 3.5.0, the delete_files_or_folders action in filer/admin/folderadmin.py checks global Django model-level deletion permission but omits check_folder_edit_permissions and check_files_edit_permissions when FILER_ENABLE_PERMISSIONS is enabled. An authenticated staff user who has a global delete_file, delete_folder, or delete_image permission but is limited to read-only access by FolderPermission can therefore delete files, folders, and descendants from the restricted folder. Deployments using the default disabled per-folder permission system are not affected, and the issue does not create a read-confidentiality impact. This issue is fixed in version 3.5.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com