If Hezbollah can hit an Israeli boat off Beruit, then Iran certainly has the ablity to sink anything in the Gulf.
They certainly have the ability to launch a missile at anything in the Gulf. However, if its a US Strike Group, they will have some trouble getting that missile all the way to the intended target.
A mass attack would likely have some success.