The poor are much more likely to be in debt, which actually means debt becomes less of a problem as inflation occurs.
The rich tend to have diversified non-cash assets (investments, property, etc) that are immune to inflation.
The middle class -- Joe and Sally with a savings account -- actually have a significant amount of their net worth in cash and that's who suffers.