Until yesterday afternoon, I too was under the impression that your ribs were firmly attached. It turns out they're not actually attached at either end. the cartilige of the sternum and the vertebrae of your spine have pockets or notches that the ribs rest in.