Apple users are being told to update their devices due to a Whatsapp security flaw.