Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Parente95481A

#34964of 53,633
7.5Total CVSS
Vulnerabilities · 1
PT-2023-20213
7.5
2023-02-16
Node-Jose · Node-Jose · CVE-2023-25653
**Name of the Vulnerable Software and Affected Versions** node-jose versions prior to 2.2.0 **Description** The issue is related to a Denial-of-Service (DoS) condition in the "fallback" crypto back-end of node-jose, which can be triggered by malicious input or randomly for some ECC operations. This condition is caused by a possible infinite loop in an internal calculation due to the `jsbn` `modInverse` function sometimes returning negative results. The affected elliptic curve algorithms include key generation, converting a private key to a public key, ECDSA signing and verification, and ECDH key agreement. **Recommendations** For versions prior to 2.2.0, ensure that either WebCrypto or the Node `crypto` module is available in the JS environment where `node-jose` is being run to avoid the issue. Update to version 2.2.0 or later to resolve the issue.