CVE-2021-32679: fedoraproject fedora Improper Encoding or Escaping of Output
Vulnerability summary
CVE-2021-32679 is a high (CVSS 8.8) Improper Encoding or Escaping of Output vulnerability in fedoraproject fedora. EPSS estimates a 1.37% chance of exploitation in the next 30 days, higher than 71.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 12-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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`.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
1.37%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Nextcloud2 products
- nextcloud_server< 19.0.13 | ≥ 20.0.0, < 20.0.11 | ≥ 21.0.0, < 21.0.3
- security-advisories< 19.0.13 | ≥ 20.0.0, < 20.0.11 | ≥ 21.0.0, < 21.0.3
Fedoraproject1 product
- fedoraEOL33 | 34
2 vendors · 3 products
References
6 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-3hjp-26x8-mhf6X Refsource CONFIRMThird Party Advisory