Improper Certificate Validation Affecting nextcloud package, versions [,3.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NEXTCLOUD-2371404
  • published26 Jan 2022
  • disclosed18 Aug 2021
  • creditUnknown

Introduced: 18 Aug 2021

CVE-2021-32728  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade nextcloud to version 3.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation. The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with a computer. Clients using the Nextcloud end-to-end encryption feature download the public and private key via an API endpoint. In versions prior to 3.3.0, the Nextcloud Desktop client fails to check if a private key belongs to previously downloaded public certificate. If the Nextcloud instance serves a malicious public key, the data would be encrypted for this key and thus could be accessible to a malicious actor. This issue is fixed in Nextcloud Desktop Client version 3.3.0. There are no known workarounds aside from upgrading.

CVSS Scores

version 3.1