Jim Watson had it right regarding the gunpowder on moon. Its deflagration.
wood + air (O2) = burning, combustion reaction takes place by heat transfer. It's the same reaction as gunpowder but between two different compounds.
Gunpowder (both black and smokeless) carries its own oxygen bound to the molecule as -O-NO2 moieties. This moiety when excited by heat transfer oxidises the carbon and hydrogen within the molecule.
High explosives are the same (smokeless powder will act as one) but instead of deflagration with the reaction at a flame front, detonation happens at a shock front and is much faster. The pressure wave excites the molecules into reforming into gaseous products with release if energy to propagate the reaction.
So with that said I believe the cartridges would need to be sealed to prevent gas (air) leakage into the vacuum, as the transfer of heat is influenced by the medium it acts through and within a cartridge the deflagration will act quite a bit different with no atmosphere and may give rise to duds.
Mleake1 is right about no added recoil, even less felt recoil. The downward force is less but horizontal the same, the mass and inertia governs the recoil not weight and gravity .
Chamber pressure will be lower as there is no atmosphere to push out of barrel though this eggect is minimal and may be countered by the lubrication effect of air (or lack thereof). Ballistic coefficient of the bullet is of no concern as well. So velocity retention is excellent, thus a big slow moving .44 or more would do the trick.