PT-2019-7510 · Node · Node-Cookie-Signature
Salvatore Bonaccorso
·
Publicado
2019-11-19
·
Atualizado
2020-01-06
·
CVE-2016-1000236
CVSS v3.1
4.4
Média
| Vetor | AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Node-cookie-signature versions prior to 1.0.6
Description
The issue is related to a timing attack due to the use of a fail-early comparison instead of a constant-time comparison in the
cookie-signature module. This type of comparison allows attackers to exploit miniscule timing differences, providing per-character feedback on the correctness of a guess. As a result, the entropy gained from increased secret length is reduced, enabling an attacker to guess the secret in a significantly lower number of attempts.Recommendations
Update to version 1.0.6 or later to resolve the issue.
Correção
Race Condition
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Node-Cookie-Signature