STEM is (barely) more female than male [0]. It only seems disproportionately male if you take the idea that 60%+ of people in a major should be female as a given, or if you pick very particular subfields in STEM and take them to represent all of STEM.
Oh yeah, it really depends on what you count. I was thinking of the fields I was closest to -- CS, physics, math -- but e.g. biology leans female and has a lot of students.
[0] https://www.aei.org/carpe-diem/gender-gap-in-stem-women-are-...