PT-2023-20213 · Node-Jose · Node-Jose

Parente95481A

·

Publicado

2023-02-16

·

Atualizado

2023-02-24

·

CVE-2023-25653

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.

Exploit

Correção

Infinite Loop

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-25653
GHSA-5H4J-QRVG-9XHW

Produtos afetados

Node-Jose