Unsafe Dependency Resolution Affecting nextcloud package, versions [,20.0.12)[21.0.0,21.0.4)[22.0.0,22.1.0)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.38% (74th 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-2371429
  • published26 Jan 2022
  • disclosed7 Sept 2021
  • creditUnknown

Introduced: 7 Sep 2021

CVE-2021-32802  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade nextcloud to version 20.0.12, 21.0.4, 22.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Unsafe Dependency Resolution. Nextcloud server is an open source, self hosted personal cloud. Nextcloud supports rendering image previews for user provided file content. For some image types, the Nextcloud server was invoking a third-party library that wasn't suited for untrusted user-supplied content. There are several security concerns with passing user-generated content to this library, such as Server-Side-Request-Forgery, file disclosure or potentially executing code on the system. The risk depends on your system configuration and the installed library version. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. These versions do not use this library anymore. As a workaround users may disable previews by setting enable_previews to false in config.php.

CVSS Scores

version 3.1