GitHub Advisory Database
GHSA-2h2x-8hh2-mfq8
NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | All versions before 2.8.2 (fixed in 2.8.2) |
| Go | github.com/nats-io/nats-streaming-server | All versions before 0.24.6 (fixed in 0.24.6) |