CIA director John Brennan went to Moscow earlier this month to discuss the Syria crisis with the Russian authorities, a US official says.