Currently bonfires, torches, lanterns etc. seem working as usual in space / planets without O2 in the atmosphere:

while they should be extinguished the moment the player placed them in such environment.
Same should be applied to other fire blocks. Maybe even to furnaces?