Skip to main content
← All vulnerabilities
CVE-2023-25653GHSA-5H4J-QRVG-9XHW

Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

node-jose is a JavaScript implementation of the JSON Object Signing and Encryption (JOSE) for web browsers and node.js-based servers. Prior to version 2.2.0, when using the non-default "fallback" crypto back-end, ECC operations in `node-jose` can trigger a Denial-of-Service (DoS) condition, due to a possible infinite loop in an internal calculation. For some ECC operations, this condition is triggered randomly; for others, it can be triggered by malicious input. The issue has been patched in version 2.2.0. Since this issue is only present in the "fallback" crypto implementation, it can be avoided by ensuring that either WebCrypto or the Node `crypto` module is available in the JS environment where `node-jose` is being run.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cisco node-jose

    fixed in 2.2.0

  • node-josenpm

    fixed in 2.2.0

References 2

GitHub · cisco/node-jose