{"id":"GHSA-9r5x-fjv3-q6h4","revision":"8b3e4bc2ab244738b55b3f157154b2f3","records":[{"revision":"8b3e4bc2ab244738b55b3f157154b2f3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-9r5x-fjv3-q6h4","aliases":["BIT-nats-2021-3127","CVE-2021-3127","GHSA-62mh-w5cv-p88c","GHSA-j756-f273-xhp4","GO-2022-0386"],"title":"Duplicate Advisory: Incorrect Access Control in github.com/nats-io/jwt and github.com/nats-io/nats-server/v2","description":"## Duplicate Advisory\nThis 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.\n\n## Original Description\nNATS 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.","state":2,"publishedAt":"2022-02-15T01:57:18+00:00","modifiedAt":"2026-09-10T03:49:16.9742694+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/jwt/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.0.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.2.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/jwt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.2.3-0.20210314221642-a826c77dc9d2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-3127","https://github.com/nats-io/jwt/pull/149","https://github.com/nats-io/jwt/pull/149/commits/a826c77dc9d2671c961b75ceefdb439c41029866","https://github.com/nats-io/nats-server/commit/423b79440c80c863de9f4e20548504e6c5d5e403","https://advisories.nats.io/CVE/CVE-2021-3127.txt","https://github.com/nats-io/jwt"],"sourceUrl":"https://github.com/advisories/GHSA-9r5x-fjv3-q6h4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9r5x-fjv3-q6h4","identifiers":["GHSA-9r5x-fjv3-q6h4","BIT-nats-2021-3127","CVE-2021-3127","GHSA-62mh-w5cv-p88c","GHSA-j756-f273-xhp4","GO-2022-0386"]},"retained":false,"historicalAffected":[]}],"coverage":[]}