But attacks on oil pipelines and the kidnapping of foreign workers have significantly cut Nigeria 's output and contributed to record high oil prices around the world .