jose-browser-runtime@3.16.0 vulnerabilities

  • latest version

    5.9.6

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the jose-browser-runtime 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
    Denial of Service (DoS)

    jose-browser-runtime is a (Browser Runtime) 'JSON Web Almost Everything' - JWA, JWS, JWE, JWT, JWK with no dependencies

    Affected versions of this package are vulnerable to Denial of Service (DoS) by allowing an attacker to intentionally pick an extremely high PBES2 Count value which will initiate a CPU-bound computation that may take an unreasonable amount of time to finish.

    Note: The impact is limited only to users utilizing the JWE decryption APIs with symmetric secrets to decrypt JWEs from untrusted parties who do not limit the accepted JWE Key Management Algorithms (alg Header Parameter) using the keyManagementAlgorithms (or algorithms in v1.x) decryption option or through other means.

    How to fix Denial of Service (DoS)?

    Upgrade jose-browser-runtime to version 3.20.4, 4.9.2 or higher.

    <3.20.4>=4.0.0 <4.9.2