Dmitry Medvedev, a senior Kremlin security official, said in remarks released for publication that the world was getting very dangerous, but that Russia did not want a global conflict.