UN warns about potential major escalation in Middle East