VDB
Sign up
HIGH7.5

GHSA-jp4j-47f9-2vc3

Integer Overflow or Wraparound in NATS Server

Quick fix

GHSA-jp4j-47f9-2vc3 — 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.2.0

Details

An integer overflow in NATS Server before 2.2.0 allows a remote attacker to crash the server by sending a crafted request.

### Specific Go Packages Affected github.com/nats-io/nats-server/v2/server

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/nats-io/nats-server/v2
Introduced in: 0Fixed in: 2.2.0
Fixgo get github.com/nats-io/nats-server/v2@v2.2.0

References