—
GO-2023-2066
NATS nats-server allows directory traversal via unintended path to a management action in github.com/nats-io/nats-server
Quick fix
GO-2023-2066 — 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.7.4Details
NATS nats-server allows directory traversal via unintended path to a management action 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:
2.2.0Fixed in: 2.7.4Fix
go get github.com/nats-io/nats-server/v2@v2.7.4