RabbitMQ rabbitmq-java-client
RabbitMQ: Malformed UTF-8 in shortstr properties permanently disables RPC consumers
The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.36.0, ValueReader.readShortstr decodes malformed UTF-8 bytes into replacement characters that can re-encode beyond the AMQP shortstr limit enforced by ValueWriter.writeShortstr. An attacker who can submit an RPC message with a malformed echoed property can cause reply publication in RpcServer.mainloop() or tutorial-style consumers to throw an unchecked exception before acknowledgement. The broker requeues the message, allowing the same message to disable replacement consumers until the queue is purged. This issue is fixed in version 5.36.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.36.0
Fixed in 5.36.0
- < 5.36.0
Fixed in 5.36.0
Mitigation
Upgrade rabbitmq-java-client to 5.36.0 or later.
Upgrade amqp-client to 5.36.0 or later.
References
- Vendor advisory github.com/rabbitmq/rabbitmq-java-client/secur…
- Patch github.com/rabbitmq/rabbitmq-java-client/pull/…
- Patch github.com/rabbitmq/rabbitmq-java-client/commi…
1 more
- Release notes github.com/rabbitmq/rabbitmq-java-client/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.