Apple just fixed three 'sophisticated' flaws in millions of iPhones and Macs that aren't running the latest OSes.