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