GHSA-vgrx-w6rg-8fqf

    Dashboard / Vulnerabilities / GHSA-vgrx-w6rg-8fqf

    GHSA-vgrx-w6rg-8fqf

    Published: 6 Nov 2018Last Modified: 8 Nov 2023

    Summary: Forgeable Public/Private Tokens in jwt-simple

    Details: Affected versions of the `jwt-simple` package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort. ## Recommendation Update to version 0.3.1 or later. Additionally, be sure to always specify an algorithm in calls to `.decode()`.

    Affected packages

    Package

    Name: jwt-simple

    Purl: pkg:npm/jwt-simple

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.3.1

    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