South Korea is considering supplying weapons to Ukraine, a response to deepening military ties between North Korea and Russia.