A new flaw in Apple devices led to spyware infection