GitHub Advisory Database
GHSA-jp4j-47f9-2vc3
Integer Overflow or Wraparound in NATS Server
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | All versions before 2.2.0 (fixed in 2.2.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13126
- https://github.com/nats-io/nats-server/pull/1053
- https://github.com/nats-io/nats-server/pull/1441
- https://github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda
- https://github.com/nats-io/nats-server/commits/master
- https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126