NATS Server: MQTT-over-WebSocket Path Can Crash WebSocket-Only JetStream Servers Before MQTT Is Enabled
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.12 and github.com/nats-io/nats-server/v2 2.14.3.
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, a WebSocket listener could route requests for the MQTT-over-WebSocket path into MQTT handling even when MQTT was not configured, allowing an unauthenticated client with access to the WebSocket listener to reach uninitialized MQTT state and crash the server process. This issue is fixed in versions 2.14.3 and 2.12.12.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nats-io | <2.12.12, >=2.14.0-RC.1 <2.14.3 | ||
| go: github.com/nats-io/nats-server/v2 | <2.12.12, >=2.14.0-RC.1 <2.14.3 | 2.12.12, 2.14.3 |
Exploit evidence
1 public sources
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