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
Meaning of (CAUGHT / STUCK) BETWEEN A ROCK AND A HARD PLACE in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005