—
GO-2024-2980
NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server
Quick fix
GO-2024-2980 — github.com/nats-io/nats-server/v2: upgrade to the fixed version with the command below.
go get github.com/nats-io/nats-server/v2@v2.8.2Details
NATS Server and Streaming Server fails to enforce negative user permissions, may allow denied subjects in github.com/nats-io/nats-server
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/nats-io/nats-server
Introduced in:
0No fixed version published yet for github.com/nats-io/nats-server (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/nats-io/nats-server/v2
Introduced in:
0Fixed in: 2.8.2Fix
go get github.com/nats-io/nats-server/v2@v2.8.2Go/github.com/nats-io/nats-streaming-server
Introduced in:
0Fixed in: 0.24.6Fix
go get github.com/nats-io/nats-streaming-server@v0.24.6