{"id":"CVE-2023-25653","published":"2023-02-16T18:15:27Z","modified":"2025-03-10T21:10:13Z","title":"Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS)","vendor":"Cisco","product":"node-jose","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00552,"percentile":0.47017,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/cisco/node-jose/security/advisories/GHSA-5h4j-qrvg-9xhw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cisco/node-jose/commit/901d91508a70e3b9bdfc45688ea07bb4e1b8210d","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cisco","affectedVersions":[{"vendor":"cisco","product":"node-jose","versions":["< 2.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T20:58:25.909917Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-jose","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["GHSA-5h4j-qrvg-9xhw"],"provenance":"source"}],"summary":{"text":"The node-jose JavaScript JOSE library, prior to version 2.2.0, contains a flaw in its ECC operations that can cause an infinite loop when the non-default \"fallback\" crypto back-end is in use. An attacker with network access and no authentication or user interaction can cause a denial of service, with some ECC operations triggering the condition randomly and others triggerable by malicious input; the issue is avoided when WebCrypto or the Node crypto module is available.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:22Z"},"euvd":{"id":"EUVD-2023-0629","exploited":false,"provenance":"source"}}