These congenital problems may occur in congenital adrenal hyperplasia (eg, steroidogenic acute regulatory [StAR] protein deficiency, 17alpha-hydroxylase deficiency, 3beta-hydroxysteroid dehydrogenase deficiency) when the same enzyme defect occurs in the adrenal glands and the testes, resulting in defective androgen activity and ambiguous external genitals of varying degrees.