CVE-2021-32679
CVSS V2 Medium 6.8
CVSS V3 High 8.8
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`.
Overview
- CVE ID
- CVE-2021-32679
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-07-12T13:15:08
- Last Modified Date
- 2022-10-26T14:10:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* | 1 | OR | 19.0.13 | |
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* | 1 | OR | 20.0.0 | 20.0.11 |
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* | 1 | OR | 21.0.0 | 21.0.3 |
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3hjp-26x8-mhf6 | Third Party Advisory |
https://github.com/nextcloud/server/pull/27354 | Patch Third Party Advisory |
https://hackerone.com/reports/1215263 | Permissions Required |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVZS26RDME2DYTKET5AECRIZDFUGR2AZ/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J63NBVPR2AQCAWRNDOZSGRY5II4WS2CZ/ | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202208-17 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32679 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32679 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:04:34 | Added to TrackCVE | |||
2022-12-05 05:46:18 | 2021-07-12T13:15Z | 2021-07-12T13:15:08 | CVE Published Date | updated |
2022-12-05 05:46:18 | 2022-10-26T14:10:11 | CVE Modified Date | updated | |
2022-12-05 05:46:18 | Analyzed | Vulnerability Status | updated | |
2022-12-05 05:46:22 | References | updated |