CVE-2021-32679

    Dashboard / Vulnerabilities / CVE-2021-32679

    CVE-2021-32679

    Published: 12 Jul 2021Last Modified: 7 Aug 2026

    Summary:

    Details: 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`.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v19.0.13rc1
    v19.0.11
    v19.0.11RC1
    v19.0.10
    v19.0.10RC1
    v19.0.9
    v19.0.9RC1
    v19.0.8
    v19.0.8RC1
    v19.0.7
    v19.0.7RC1
    v19.0.6
    v19.0.6RC2
    v19.0.5
    v19.0.5RC2
    v19.0.5RC1
    v19.0.4
    v19.0.4RC2
    v19.0.40RC1
    v19.0.3
    v19.0.3RC1
    v19.0.2
    v19.0.2RC2
    v19.0.2RC1
    v19.0.1
    v19.0.1RC1
    v19.0.0
    v19.0.0RC3
    v19.0.0RC1
    v19.0.0beta7
    v19.0.0beta6
    v19.0.0beta5
    v19.0.0beta4
    v19.0.0beta3
    v19.0.0beta2
    v19.0.0beta1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-32679 | CVE-DB