Russian Cosmonauts used fly into space equipped with a large pistol (which could also fire shotgun bullets) so that if they landed in Siberia on their return to Earth they could defend themselves against bears and wolves.
Source :
https://en.wikipedia.org/wiki/TP-82_Cosmonaut_survival_pistol