Description
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, the writeShortstr function in write.go casts the byte length of AMQP shortstr property values to uint8 without first rejecting values longer than 255 bytes. An application that accepts an oversized CorrelationId, ReplyTo, MessageId, Expiration, UserId, AppId, ContentType, ContentEncoding, or Type value can therefore serialize a wrapped length and only a truncated prefix, while reporting no error. The resulting silent metadata corruption can break request and reply correlation, routing, tracing, and downstream message processing. This issue is fixed in version 1.13.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rabbitmq | amqp091-go | < 1.13.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-rabbitmq-amqp091-go | 1.14.0-1 | — |
| Debian 13 | golang-github-rabbitmq-amqp091-go | No fix yet | — |
| Debian 12 | golang-github-rabbitmq-amqp091-go | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-rabbitmq-amqp091-go | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-rabbitmq-amqp091-go | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-rabbitmq-amqp091-go | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | keda | No fix yet | — |
| Azure Linux 3 | telegraf | 1.31.0-34 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/rabbitmq/amqp091-go | < 1.13.0 | 1.13.0 | GHSA-j497-x9hr-x34x |