Apple has released iOS 17.1.2, an emergency iPhone update fixing two flaws—both of which are being used in real-life attacks.