The vulnerability is an uncontrolled resource consumption issue in Netty's Redis codec, allowing a remote attacker to cause a denial of service. The primary flaw is in the io.netty.handler.codec.redis.RedisArrayAggregator, which pre-allocates an ArrayList based on a size specified in a Redis array header. The decode method of this class processes the malicious message, and before the patch, it did not properly limit the size requested, leading to potentially massive memory allocations and an OutOfMemoryError. The patch introduces a configurable maximum element count to mitigate this. A secondary, related vulnerability was fixed in io.netty.handler.codec.redis.RedisDecoder. Its decode method could be forced to buffer an unreasonable amount of data when parsing a length field because it didn't limit the number of bytes to read for the length. The patch for this adds a size check, providing defense-in-depth against resource exhaustion attacks.