jose@4.9.2 vulnerabilities

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes

  • latest version

    6.0.8

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the jose package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Resource Exhaustion

    jose is an Universal 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies

    Affected versions of this package are vulnerable to Resource Exhaustion due to the JWE decryption interfaces' support for decompressing plaintext after its decryption. An attacker can cause the application to consume an unreasonable amount of CPU time or memory by sending malicious JWE payloads with compressed plaintext.

    Note:

    This is only exploitable if the application uses JWE decryption from untrusted sources and runs in a Node.js environment.

    How to fix Resource Exhaustion?

    Upgrade jose to version 2.0.7, 4.15.5 or higher.

    <2.0.7>=3.0.0 <4.15.5