Strictly speaking, gardnerella vaginallis or bacterial vaginosis is not a sexually transmitted infection, but it can be passed from a woman to a man during unprotected sexual intercourse.