Security: Fixing high security vulnerability in MacOS client

CVE and security advisory will follow.


https://github.com/owncloud/client/pull/12379
https://github.com/owncloud/client/pull/12389
https://github.com/owncloud/client/pull/12390