RabbitMQ amqp091-go
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.13.0
Fixed in 1.13.0
Mitigation
Upgrade amqp091-go to 1.13.0 or later.
References
- Vendor advisory github.com/rabbitmq/amqp091-go/security/adviso…
- Patch github.com/rabbitmq/amqp091-go/pull/347
- Patch github.com/rabbitmq/amqp091-go/commit/143c1ace…
1 more
- Release notes github.com/rabbitmq/amqp091-go/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.