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.0Details
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.0Fix
go get github.com/nats-io/nats-server/v2@v2.2.0References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13126[ADVISORY]
- https://github.com/nats-io/nats-server/pull/1053[WEB]
- https://github.com/nats-io/nats-server/pull/1441[WEB]
- https://github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda[WEB]
- https://github.com/nats-io/nats-server/commits/master[WEB]
- https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126[WEB]