logo

CVE-2016-1000236 cookie-signature

Package

Manager: npm
Name: cookie-signature
Vulnerable Version: >=0 <1.0.4

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00539 pctl0.66621

Details

cookie-signature Timing Attack Affected versions of `cookie-signature` are vulnerable to timing attacks as a result of using a fail-early comparison instead of a constant-time comparison. Timing attacks remove the exponential increase in entropy gained from increased secret length, by providing per-character feedback on the correctness of a guess via miniscule timing differences. Under favorable network conditions, an attacker can exploit this to guess the secret in no more than `charset*length` guesses, instead of `charset^length` guesses required were the timing attack not present. ## Recommendation Update to 1.0.4 or later.

Metadata

Created: 2020-01-06T18:44:10Z
Modified: 2022-08-03T21:36:59Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-92vm-wfm5-mxvv/GHSA-92vm-wfm5-mxvv.json
CWE IDs: ["CWE-362"]
Alternative ID: GHSA-92vm-wfm5-mxvv
Finding: F124
Auto approve: 1