A flaw was found in node-forge. The bundled mathematical library enters an infinite loop when calculating a modular inverse with a negative value or modulus. If an application allows an attacker to supply untrusted parameters, such as a negative RSA public exponent during cryptographic key generation, the operation can consume excessive CPU resources and block the application event loop, resulting in a Denial of Service (DoS).
Exploitability
AV:LAC:HPR:NUI:NScope
S:UImpact
C:NI:NA:L2.9/CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L