Every CVE Search/ Get API key

CVE-2016-1000236

cookie-signature Timing Attack

4.4 MediumFix available

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.90%Down 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.4

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
CVE-2016-1000236
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:P/I:N/A:N
Weakness
CWE-362
Updated
2026-11-02
CVE List No score

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
CVE-2016-1000236
Updated
2026-11-02
EUVDEUVD-2020-0260 No score

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
EUVD-2020-0260
Updated
2026-11-03
GitHub AdvisoriesGHSA-92vm-wfm5-mxvv 4.4

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.

Record
GHSA-92vm-wfm5-mxvv
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-362
Updated
2026-11-02
OSVAZL-44412 4.4

CVE-2016-1000236 affecting package nodejs-nodemon 2.0.3-5

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
AZL-44412
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSV 4.4

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
CVE-2016-1000236
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2016-1000236 4.4

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
DEBIAN-CVE-2016-1000236
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-92vm-wfm5-mxvv 4.4

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.

Record
GHSA-92vm-wfm5-mxvv
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-362
Updated
2026-11-02
OSVUBUNTU-CVE-2016-1000236 4.4

Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.

Record
UBUNTU-CVE-2016-1000236
CVSS 3.1
4.4 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVCLSA-2026-1773879459 No score

TuxCare security update for cookie-signature (1 CVE)

TuxCare rebuilt cookie-signature to address 1 CVE. Fixed in 1.0.0-tuxcare.1.

Record
CLSA-2026-1773879459
Updated
2026-11-02
OSVCLSA-2026-1784683082 No score

TuxCare security update for cookie-signature (1 CVE)

TuxCare rebuilt cookie-signature to address 1 CVE. Fixed in 1.0.1-tuxcare.1.

Record
CLSA-2026-1784683082
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cookie-signature
npm
before 1.0.4
1.0.4
nodejs-nodemon
Azure Linux:3
through 2.0.3-5 None known
cookie-signature
TuxCare:npm
1.0.0-tuxcare.0 up to 1.0.0-tuxcare.1, plus listed versions
1.0.0
1.0.0-tuxcare.1
cookie-signature
TuxCare:npm
1.0.1-tuxcare.0 up to 1.0.1-tuxcare.1, plus listed versions
1.0.1
1.0.1-tuxcare.1
node-cookie-signature
Debian:12
before 1.1.0-1
1.1.0-1
node-cookie-signature
Debian:13
before 1.1.0-1
1.1.0-1
node-cookie-signature
Debian:14
before 1.1.0-1
1.1.0-1
node-cookie-signature
Ubuntu:16.04:LTS
All versions, plus listed versions
1.0.3-1
None known
node-cookie-signature
Ubuntu:18.04:LTS
All versions, plus listed versions
1.0.3-11.0.3-1ubuntu1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-1000236 is a medium vulnerability (CVSS 4.4) in Cookie-signature Project Cookie-signature, published November 19, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.90%, the 59th percentile. Fixed in cookie-signature 1.0.4.

References

Show 11 moreShow less
MoveEnter Open