Former President Dmitry Medvedev said Russia could launch a "legitimate nuclear attack" in its latest atomic saber-rattling.