The UK's consumer prices index (CPI) rose by 10.5 percent in the 12 months to December 2022, data from the Office for National Statistics showed on Wednesday.