The International Energy Agency warned that the Middle East crisis has created the largest threat to energy security in history.