CVE-2021-32679
Summary
| CVE | CVE-2021-32679 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-12 13:15:00 UTC |
| Updated | 2023-11-07 03:35:00 UTC |
| Description | Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into downloading malicious files with a benign file extension. This would show in UI behaviours where Nextcloud applications would display a benign file extension (e.g. JPEG), but the file will actually be downloaded with an executable file extension. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. Administrators of Nextcloud instances do not have a workaround available, but developers of Nextcloud apps may manually escape the file name before passing it into `DownloadResponse`. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 34 Update: nextcloud-20.0.11-1.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Nextcloud: Multiple Vulnerabilities (GLSA 202208-17) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| [SECURITY] Fedora 33 Update: nextcloud-19.0.13-1.fc33 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Escape filename in Content-Disposition by LukasReschke · Pull Request #27354 · nextcloud/server · GitHub |
MISC |
github.com |
|
| Filenames not escaped by default in controllers using DownloadResponse · Advisory · nextcloud/security-advisories · GitHub |
CONFIRM |
github.com |
|
| HackerOne |
MISC |
hackerone.com |
|
| [SECURITY] Fedora 33 Update: nextcloud-19.0.13-1.fc33 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: nextcloud-20.0.11-1.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 281735 Fedora Security Update for nextcloud (FEDORA-2021-9b421b78af)
- 281736 Fedora Security Update for nextcloud (FEDORA-2021-6f327296fe)
- 710590 Gentoo Linux Nextcloud Multiple Vulnerabilities (GLSA 202208-17)
- 750849 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1068-1)
- 750850 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1068-1)