GHSA-2h2x-8hh2-mfq8
NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | < 2.8.2 | 2.8.2 |
| Go | github.com/nats-io/nats-streaming-server | < 0.24.6 | 0.24.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
NATS.io NATS Server before 2.8.2 and Streaming Server before 0.24.6 could allow a remote attacker to bypass security restrictions, caused by the failure to enforce negative user permissions in one scenario. By using a queue subscription on the wildcard, an attacker could exploit this vulnerability to allow denied subjects.
References
External links from the advisory. They lead to third-party sites.