rabbitmq-server: RabbitMQ: AMQP 1.0 symbolic body descriptor prefix collisions bypass validation
What fixes it
- 4.3.4amqp10_common, erlangGitHub
- 4.2.10amqp10_common, erlangGitHub
- 4.1.15amqp10_common, erlangGitHub
- 4.0.24amqp10_common, erlangGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
RabbitMQ is a messaging and streaming broker. From 4.0.0 until 4.0.24, 4.1.15, 4.2.10, and 4.3.4, the optimized AMQP 1.0 server_mode parser in deps/amqp10_common/src/amqp10_binary_parser.erl matches the textual prefixes of symbolic data, sequence, and value body descriptors without verifying their encoded symbol lengths. An authenticated AMQP 1.0 publisher with write permission can submit a well-formed unknown descriptor that begins with a registered body descriptor, and RabbitMQ misclassifies and stores the bytes as a standard body section. Strict AMQP 1.0 consumers can terminate while decoding the stored entry. For bodies misclassified as data, AMQP 0-9-1 or other cross-protocol conversion performs full body decoding and can terminate the consumer protocol process, with acknowledgement-required delivery permitting repeated failures. Sequence and value classifications are normally transported as opaque encoded payloads on that conversion path. The broker remains alive, and the issue does not bypass routing or authorization. This issue is fixed in versions 4.0.24, 4.1.15, 4.2.10, and 4.3.4.
Text from CVE List
Affected versions 8
- rabbitmq-serveraffected: >= 4.0.0, < 4.0.24CVE List
- rabbitmq-serveraffected: >= 4.1.0, < 4.1.15CVE List
- rabbitmq-serveraffected: >= 4.2.0, < 4.2.10CVE List
- rabbitmq-serveraffected: >= 4.3.0, < 4.3.4CVE List
- amqp10_common, erlang>= 4.3.0, < 4.3.4GitHub
- amqp10_common, erlang>= 4.2.0, < 4.2.10GitHub
- amqp10_common, erlang>= 4.1.0, < 4.1.15GitHub
- amqp10_common, erlang>= 4.0.0, < 4.0.24GitHub
References 6
- github.com/rabbitmq/rabbitmq-server/commit/c9b4b10c2dbf0f1c89f10b482ac8b45f84dc5954Fixvia CVE List
- github.com/rabbitmq/rabbitmq-server/commit/d5186e66e056960f58e2d0fbee2fcc66e1ed6fb9Fixvia CVE List
- github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.4Fixvia CVE List
- github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-p35w-6mx2-q4pcExploitvia CVE List
- github.com/rabbitmq/rabbitmq-server/pull/17017Referencevia CVE List
- github.com/rabbitmq/rabbitmq-server/pull/17287Referencevia CVE List