in a situation where you have to choose between two things, both of which are unpleasant
(caught / stuck) between a rock and a hard place
in a situation where you have to choose between two things, both of which are unpleasant
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition