{"cve":"CVE-2021-3127","nvd":{"published":"2021-03-16T20:15:13.300","modified":"2026-06-17T04:04:42.737","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-755"],"references":["https://advisories.nats.io/CVE/CVE-2021-3127.txt","https://advisories.nats.io/CVE/CVE-2021-3127.txt"],"products":["linuxfoundation:nats-server","nats:jwt_library"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-3127","score":0.01448,"percentile":0.73338,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-62mh-w5cv-p88c","url":"https://osv.dev/vulnerability/GHSA-62mh-w5cv-p88c","summary":"nats-io/jwt not enforcing checking of Import token permissions","modified":"2026-09-10T03:49:11.651939472Z","packages":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","purl":"pkg:golang/github.com/nats-io/jwt","ranges":["<=1.2.2"],"fixed":[]},{"ecosystem":"Go","name":"github.com/nats-io/jwt/v2","purl":"pkg:golang/github.com/nats-io/jwt/v2","ranges":["<2.0.1"],"fixed":["2.0.1"]}]},{"id":"GHSA-j756-f273-xhp4","url":"https://osv.dev/vulnerability/GHSA-j756-f273-xhp4","summary":"github.com/nats-io/nats-server Import token permissions checking not enforced","modified":"2026-09-10T03:49:14.740893904Z","packages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","ranges":["<2.2.0"],"fixed":["2.2.0"]}]},{"id":"GO-2022-0386","url":"https://osv.dev/vulnerability/GO-2022-0386","summary":"Import token permissions checking not enforced in github.com/nats-io/jwt","modified":"2026-02-04T03:17:43.247203Z","packages":[{"ecosystem":"Go","name":"github.com/nats-io/jwt","purl":"pkg:golang/github.com/nats-io/jwt","ranges":["<1.2.3-0.20210314221642-a826c77dc9d2"],"fixed":["1.2.3-0.20210314221642-a826c77dc9d2"]},{"ecosystem":"Go","name":"github.com/nats-io/jwt/v2","purl":"pkg:golang/github.com/nats-io/jwt/v2","ranges":["<2.0.1"],"fixed":["2.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}