The UN has warned that the economic and security situation in Libya is reaching a crisis point, with fears of another eruption of violence.