In space the corrosion occurs because of charged particles like electron, Protons in the solar wind, free radicals and püresence of UV light etc.... also the atomic Oxygen play significant effect on the corrosion of materials.
The atomic oxygen is one of the main factors in space. Also, galvanic corrosion can be occurred in the metallic structures. A useful article link is added below: