Experts are advising iPhone and iPad owners to download the update immediately to prevent attackers from taking advantage of a security weakness