Apple discloses serious security vulnerabilities for iPhones, iPads and Macs