NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/nats-io/nats-server/v2 2.12.9 and github.com/nats-io/nats-server/v2 2.14.1.
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.1 and 2.12.9, an MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections, corrupting the forwarded protocol stream and allowing injection of unintended NATS protocol operations. This issue is fixed in versions 2.14.1 and 2.12.9.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nats-io | <2.12.9, >=2.14.0-RC.1 <2.14.1 | ||
| go: github.com/nats-io/nats-server/v2 | <2.12.9, >=2.14.0-RC.1 <2.14.1 | 2.12.9, 2.14.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/nats-io/nats-server/v2 (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket