in a difficult situation where there are two equally unpleasant or unacceptable choices
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition