Preview generation used third-party library not suited for user-generated content in Nextcloud server
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
8- Range: before 20.0.12, before 21.0.4, before 22.1.0
- osv-coords6 versionspkg:rpm/opensuse/nextcloud&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/nextcloud&distro=openSUSE%20Leap%2015.3pkg:rpm/suse/nextcloud&distro=SUSE%20Package%20Hub%2012pkg:rpm/suse/nextcloud&distro=SUSE%20Package%20Hub%2015%20SP1pkg:rpm/suse/nextcloud&distro=SUSE%20Package%20Hub%2015%20SP2pkg:rpm/suse/nextcloud&distro=SUSE%20Package%20Hub%2015%20SP3
< 20.0.12-lp152.3.12.1+ 5 more
- (no CPE)range: < 20.0.12-lp152.3.12.1
- (no CPE)range: < 20.0.12-bp153.2.6.1
- (no CPE)range: < 20.0.12-31.1
- (no CPE)range: < 20.0.12-bp151.3.18.1
- (no CPE)range: < 20.0.12-bp152.2.12.1
- (no CPE)range: < 20.0.12-bp153.2.6.1
- nextcloud/security-advisoriesv5Range: < 20.0.12
Patches
Vulnerability mechanics
References
4- security.gentoo.org/glsa/202208-17mitrevendor-advisoryx_refsource_GENTOO
- docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.htmlmitrex_refsource_MISC
- github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7mitrex_refsource_CONFIRM
- hackerone.com/reports/1261413mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.