Running old software does leave you susceptible to all sorts of attacks. I doubt it has anything to do with the WannaCrypt attack which is targeted at Windows computers but it does use an SMB exploit and Mac supports SMB as well so you have to be careful.
~jr
http://www.johnrofrano.com
http://www.vasstsoftware.com