RabbitMQ amqp091-go
RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, URI.String in uri.go concatenates CertFile, KeyFile, CACertFile, and ServerName values directly into an AMQPS query string instead of encoding them as URL query parameters with url.Values. If an application accepts a TLS asset path containing ampersand or equals delimiters and later reparses the serialized URI with ParseURI, the embedded delimiters can create or overwrite connection options, including paths to TLS certificate, key, or CA files. This can corrupt connection configuration or select unintended local cryptographic assets. 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/352
- Patch github.com/rabbitmq/amqp091-go/commit/743d488e…
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.