This advisory has been withdrawn because it is a duplicate of GHSA-62mh-w5cv-p88c (for github.com/nats-io/jwt) and GHSA-j756-f273-xhp4 (for github.com/nats-io/nats-server). This link is maintained to preserve external references.
NATS Server (github.com/nats-io/nats-server/v2/server) 2.x before 2.2.0 and JWT library (github.com/nats-io/jwt/v2) before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.
{ "nvd_published_at": "2021-03-16T20:15:00Z", "cwe_ids": [ "CWE-284", "CWE-863" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2021-05-12T20:34:10Z" }