NATS is vulnerable to MQTT hijacking via Client ID
nats-io nats-server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 Go |
|
|
| github.com/nats-io/nats-server Go |
| No fix yet |
nats-io nats-server
| Product | Affected | Fixed in |
|---|---|---|
| github.com/nats-io/nats-server/v2 Go |
|
|
| github.com/nats-io/nats-server Go |
| No fix yet |
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The nats-server provides an MQTT client interface. Prior to versions 2.11.15 and 2.12.5, Sessions and Messages can by hijacked via MQTT Client ID malfeasance. Versions 2.11.15 and 2.12.5 patch the issue. No known workarounds are available.
From the CVE record · GitHub_M
The nats-server MQTT client interface is vulnerable to session and message hijacking through misuse of MQTT Client IDs. The input does not specify whether authentication or user interaction is required.
Engineers running github.com/nats-io/nats-server/v2 before 2.11.15 or from 2.12.0-RC.1 through versions before 2.12.6, or any version of github.com/nats-io/nats-server, should check their deployments.