A US gas pipeline has been impacted by a ransomware.