Gunpowder has it's own oxidizer, cartridges will fire even underwater if the case mouth and primer pocket were coated with sealant. There does not have to be air inside the casing, most modern cartridges are filled to max capacity with powder up to the base of the bullet.
The Russians also had at least one Salyut that had a secret gun mounted on board for shooting satellites.
Gunpowder has it's own oxidizer, cartridges will fire even underwater if the case mouth and primer pocket were coated with sealant. There does not have to be air inside the casing, most modern cartridges are filled to max capacity with powder up to the base of the bullet.
The Russians also had at least one Salyut that had a secret gun mounted on board for shooting satellites.