PT-2019-7510 · Node · Node-Cookie-Signature

Salvatore Bonaccorso

·

Published

2019-11-19

·

Updated

2020-01-06

·

CVE-2016-1000236

CVSS v3.1

4.4

Medium

VectorAV: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.

Fix

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-44412
CVE-2016-1000236
GHSA-92VM-WFM5-MXVV

Affected Products

Node-Cookie-Signature