Unknown · Nats Streaming Server · CVE-2022-24450
**Name of the Vulnerable Software and Affected Versions**
NATS Server versions prior to 2.7.2
NATS Streaming Server versions prior to 0.24.1
**Description**
The issue is related to Incorrect Access Control in NATS nats-server, where any authenticated user can obtain the privileges of the System account by misusing the "dynamically provisioned sandbox accounts" feature. This is due to a coding error in an experimental feature that allowed clients to authorize into any account. A client can craft the initial protocol-level handshake to switch into any other account, including the System account, which controls nats-server core operations. For deployments not using multi-tenancy, normal users can choose to be in the System account.
**Recommendations**
For NATS Server versions prior to 2.7.2, upgrade to version 2.7.2 or later.
For NATS Streaming Server versions prior to 0.24.1, upgrade to version 0.24.1 or later.