ADVISORIES

GitHub Advisory Database

GHSA-9r5x-fjv3-q6h4

Duplicate Advisory: Incorrect Access Control in github.com/nats-io/jwt and github.com/nats-io/nats-server/v2

This advisory was withdrawn on 21 May 2024.

Details

Duplicate Advisory

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.

Original Description

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/nats-io/jwt/v2
All versions before 2.0.1 (fixed in 2.0.1)
Gogithub.com/nats-io/nats-server/v2
All versions before 2.2.0 (fixed in 2.2.0)
Gogithub.com/nats-io/jwt
All versions before 1.2.3-0.20210314221642-a826c77dc9d2 (fixed in 1.2.3-0.20210314221642-a826c77dc9d2)

References