Apple has released iOS 17.1, fixing 21 iPhone security flaws, some of which could allow an attacker to gain control of your device.