VDB
Sign up
—

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.2

Details

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: 0

No 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.2
Fixgo get github.com/nats-io/nats-server/v2@v2.8.2
Go/github.com/nats-io/nats-streaming-server
Introduced in: 0Fixed in: 0.24.6
Fixgo get github.com/nats-io/nats-streaming-server@v0.24.6

References