Well I will make an admission. I have played thousands of hours in the 90s on Harpoon. Harpoon is a software "game" which allows you to command a carrier group or the opposing navy/land group. Before you start poo-pooing, it was used at the naval academy. Tom Clancy used it to test scenarios for some of his noevls as well. Its not a graphics intensive shootem up, it more of a strategy game, think naval chess.
The reason its used at the naval academy is that it is very realistic at modelling things like weapons capabilities, radars etc.
On the open ocean with a full task force properly set up, it is very difficult to take on a carrier. The only hope is to either sneak a sub in, or to overwhelm the air defences. Between the radar on the Hawkeye, the ships radars and the fact that the carrier is screened by other ships, its a tough nut to crack.
One of the only scenarios, one that Dale Brown used in a novel, is to have the air wing occupied striking another target, and co-oridinating an attack by something like a Backfire. It can carry a kh22 Kitchen which runs at Mach 4 for 270 miles. The task force can realistically shoot these down, but if they get a flood of them, it might be possible to overwhelm the missles defences of the task force. In other words, if all of Russia's Backfires attacked one task force at once, managed suprise and managed to catch most of the fighters in the air wing off on another task, it might be possible. Lining up the logistics of this is an entire manner that makes this theoretical than practical.
The closer you are to land, the more vulnerable the carrier is. Both from subs and aircraft. Shallow water is not the US navy's domain, and a diesel sub, running on battery only, in shallow water, is quieter than a nuclear sub, which has to run coolant pumps all the time. The diesel though, has to be at the right place at the right time. Again, a fighter carrying a nuke flying below radar, would still have to get through the screen to get to the carrier, and it would take more than a little skill and a lot of luck. A plane is a bigger slower target than Kitchen.
One of the biggest aspects of the security of the carrier task group is its speed. If naval personell leak the location and the route, its suddenly more vulnerable. If you are planning a strike on a carrier, where it is going to be is crucial.
James