GO-2022-0386

    Dashboard / Vulnerabilities / GO-2022-0386

    GO-2022-0386

    Published: 1 Jul 2022Last Modified: 4 Feb 2026

    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.

    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
    GO-2022-0386 | CVE-DB