CIA and other intelligence communities are a bit more severe about extramarital affairs because it opens the door to blackmail. I don't know if this would extend all the way up to the head of the CIA.

It's everyone with clearance. It's okay to have an affair as long as you tell the Security office and who you are having the affair with and that person checks out as not having ties to someone thay would act agaisnt the USA's interests.