{"id":"CVE-2021-3127","published":"2021-03-16T19:55:10Z","modified":"2024-08-03T16:45:51Z","title":"NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings…","vendor":null,"product":null,"tier":"tail","description":{"text":"NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings are mishandled.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01448,"percentile":0.73978,"provenance":"source"},"cwes":[],"references":[{"url":"https://advisories.nats.io/CVE/CVE-2021-3127.txt","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.8}]},"affected":[{"ecosystem":"Go","package":"github.com/nats-io/jwt","vulnerableRanges":["<=1.2.2","<1.2.3-0.20210314221642-a826c77dc9d2"],"patched":["1.2.3-0.20210314221642-a826c77dc9d2"],"from":["GHSA-62mh-w5cv-p88c","GO-2022-0386"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/nats-io/jwt/v2","vulnerableRanges":["<2.0.1"],"patched":["2.0.1"],"from":["GHSA-62mh-w5cv-p88c","GO-2022-0386"],"provenance":"source"}],"summary":{"text":"The flaw is an incorrect access control issue in NATS Server 2.x before 2.2.0 and the JWT library before 2.0.1, arising from mishandled Import Token bindings. An attacker can abuse this flaw to gain access they should not have.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:46Z"},"euvd":{"id":"EUVD-2022-0850","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-26521","published":"2020-11-06","fixed":"1.1.0","kev":false},{"cve":"CVE-2020-26892","published":"2020-11-06","fixed":"1.1.0","kev":false,"link":{"from":"CVE-2020-26892","to":"CVE-2021-3127","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nats-io/jwt","fromFixed":"1.1.0","toFixed":"1.2.3-0.20210314221642-a826c77dc9d2","daysApart":130},{"kind":"similar","provenance":"machine","score":0.59,"basis":"same package + description similarity"}]}},{"cve":"CVE-2021-3127","published":"2021-03-16","fixed":"1.2.3-0.20210314221642-a826c77dc9d2","kev":false}],"package":"Go:github.com/nats-io/jwt"}}