The United Nations has warned of a possible humanitarian catastrophe in Somalia , which has not had a functioning central government in 17 years .