NATS Server: MQTT partial CONNECT packets can exhaust pre-auth memory
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. 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, an unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed, consuming server memory while the parser waited for the advertised MQTT packet length. 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 |
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