The Samba vulnerability (CVE-2017-7494) can have adverse effects on versions 3.5 (released March 1, 2010) and newer counterparts. The samba vulnerability can be exploited remotely. The criminal can make the malicious client to upload the shared library to a writable share. This could be the reason of the server loading and executing it. A patch was recently released and advisory was released with it for those who could not install the patch right away. There are many storage devices that have used Linux and Unix for file sharing functionalities.”]
Source: https://hackercombat.com/linux-unix-platforms-are-anymore-wannacry-like-threat-is-the-reason/