GO-2022-0386
Dashboard / Vulnerabilities / GO-2022-0386
Summary: Import token permissions checking not enforced in github.com/nats-io/jwt
Details: Import tokens valid for one account may be used for any other account. Validation of Import token bindings incorrectly warns on mismatches, rather than rejecting the Goken. This permits a token for one account to be used for any other account.
References: https://advisories.nats.io/CVE/CVE-2021-3127.txt, https://github.com/nats-io/jwt/pull/149
Affected packages
Package
Name: github.com/nats-io/jwt
Purl: pkg:golang/github.com/nats-io/jwt
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.2.3-0.20210314221642-a826c77dc9d2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
