The United Nations has issued a stark warning about escalating violence in the Middle East, urging all parties to exercise restraint and seek peaceful resolutions.