Skip to content

← Public intelligence

npm package

jwt-simple

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratednpmAmendedPublished

    Signature Verification Bypass in jwt-simple

    GHSA-8v5f-hp78-jgxq

    Affected
    • npm jwt-simple < 0.5.3
    Fixed in
    0.5.3· Vendor fix available
    Issue
    Versions of jwt-simple prior to 0.5.3 are vulnerable to Signature Verification Bypass. If no algorithm is specified in the decode() function, the packages uses the algorithm in the JWT to decode tokens. This allows an attacker to create a HS256 (symmetric algorithm) JWT with the server's public key as secret, and the package will verify it as HS256 instead of RS256 (asymmetric algorithm). Recommendation Upgrade to version 0.5.3 or later.

    Recommended action: Upgrade to 0.5.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. UnratednpmAmendedPublished

    Forgeable Public/Private Tokens in jwt-simple

    CVE-2016-10555 · GHSA-vgrx-w6rg-8fqf

    Affected
    • npm jwt-simple < 0.3.1
    Fixed in
    0.3.1· Vendor fix available
    Issue
    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().

    Recommended action: Upgrade to 0.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →