If I had to guess, which I do, I'd say that it's not a big deal that an adversary capable of threatening an aircraft carrier knows where it generally is. What is a big deal is knowing precisely where it is when an undetected projectile needs pinpoint accuracy moments before blowing a big hole in it.
It’s impossible for any projectile to come towards an aircraft carrier of the US and not be detected. Technically impossible. You’re only hope is that they don’t have CIWS turned on. A 20mm Vulkan cannon of computerized vision models pointed right at you.