Affected versions
Ubuntu16.04:LTS/librabbitmq
- Affected versions
- <0.7.1-1ubuntu0.2
- Fixed version
- 0.7.1-1ubuntu0.2
Ubuntu18.04:LTS/librabbitmq
- Affected versions
- <0.8.0-1ubuntu0.18.04.2
- Fixed version
- 0.8.0-1ubuntu0.18.04.2
- Affected versions
- <0.4.1-1ubuntu0.1~esm1
- Fixed version
- 0.4.1-1ubuntu0.1~esm1
Description
An issue was discovered in amqp_handle_input in amqp_connection.c in rabbitmq-c 0.9.0. There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER. A rogue server could return a malicious frame header that leads to a smaller target_size value than needed. This condition is then carried on to a memcpy function that copies too much data into a heap buffer.

