When cruise ships DO need to go relatively close to areas where pirates are active, they will often have a military style escort ship to keep others at a distance. There are a whole variety of other things going on that also protect cruise ships and their passengers.