{"id":"CVE-2016-1000236","aliases":["AZL-44412","CLSA-2026-1773879459","CLSA-2026-1784683082","DEBIAN-CVE-2016-1000236","EUVD-2020-0260","GHSA-92vm-wfm5-mxvv","UBUNTU-CVE-2016-1000236"],"status":"published","title":"cookie-signature Timing Attack","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00896,"percentile":0.59818,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2019-11-19T17:01:15Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"npm","package":"cookie-signature","fixed_in":["1.0.4"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"cookie-signature","fixed_in":["1.0.0-tuxcare.1","1.0.1-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-cookie-signature","fixed_in":["1.1.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-cookie-signature","fixed_in":["1.1.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-cookie-signature","fixed_in":["1.1.0-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"nodejs-nodemon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.3-5"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-tuxcare.0"},{"fixed":"1.0.0-tuxcare.1"}]}],"versions":["1.0.0"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.1-tuxcare.0"},{"fixed":"1.0.1-tuxcare.1"}]}],"versions":["1.0.1"]},{"source":"osv","ecosystem":"Debian:12","package":"node-cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-1"}]}]},{"source":"osv","ecosystem":"npm","package":"cookie-signature","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.4"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"node-cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"node-cookie-signature","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-1","1.0.3-1ubuntu1"]}],"products":[{"vendor":"cookie-signature_project","product":"cookie-signature"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2016-1000236","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-1000236","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1371409","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838618","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://www.mail-archive.com/secure-testing-team%40lists.alioth.debian.org/msg06583.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://travis-ci.com/nodejs/security-wg/builds/76423102","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-1000236","tags":["web","advisory"]},{"url":"https://github.com/tj/node-cookie-signature/commit/2c4df6b6cee540f30876198cd0b5bebf28528c07","tags":["web"]},{"url":"https://github.com/tj/node-cookie-signature/commit/4cc5e21e7f59a4ea0b51cd5e9634772d48fab590","tags":["web"]},{"url":"https://www.mail-archive.com/secure-testing-team@lists.alioth.debian.org/msg06583.html","tags":["web"]},{"url":"https://github.com/tj/node-cookie-signature/commit/39791081692e9e14aa62855369e1c7f80fbfd50e","tags":["web"]},{"url":"https://www.npmjs.com/advisories/134","tags":["web"]},{"url":"https://github.com/advisories/GHSA-92vm-wfm5-mxvv"},{"url":"https://github.com/tj/node-cookie-signature","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2016-1000236","tags":["report"]},{"url":"https://nodesecurity.io/advisories/134","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-1000236","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-1000236","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:01:15Z","modified":"2024-08-06T03:55:27.582Z","updated_at":"2026-11-02T14:33:36.802481Z"}],"euvd":[{"id":"EUVD-2020-0260","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:01:15Z","modified":"2024-08-06T03:55:27Z","updated_at":"2026-11-03T02:22:21.326542Z"}],"ghsa":[{"id":"GHSA-92vm-wfm5-mxvv","title":"cookie-signature Timing Attack","description":"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. \n\nTiming 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.\n\nUnder 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. \n\n\n\n## Recommendation\n\nUpdate to 1.0.4 or later.","status":"published","published":"2020-01-06T18:44:10Z","modified":"2023-01-11T05:08:06Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:36:13.23016Z"}],"nvd":[{"id":"CVE-2016-1000236","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:15:11.343Z","modified":"2026-06-17T00:38:48.71Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:03:40.524348Z"}],"osv":[{"id":"AZL-44412","title":"CVE-2016-1000236 affecting package nodejs-nodemon 2.0.3-5","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:15:11Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-05T16:41:20.107976Z"},{"id":"CVE-2016-1000236","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:15:11.343Z","modified":"2026-03-14T09:17:31.670496Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-1000236","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:15:11.343Z","modified":"2026-09-22T07:00:15.512224955Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"GHSA-92vm-wfm5-mxvv","title":"cookie-signature Timing Attack","description":"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. \n\nTiming 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.\n\nUnder 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. \n\n\n\n## Recommendation\n\nUpdate to 1.0.4 or later.","status":"published","published":"2020-01-06T18:44:10Z","modified":"2023-11-08T03:58:08.152158Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"UBUNTU-CVE-2016-1000236","description":"Node-cookie-signature before 1.0.6 is affected by a timing attack due to the type of comparison used.","status":"published","published":"2019-11-19T17:15:00Z","modified":"2025-10-24T04:46:02Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:11.100633Z"},{"id":"CLSA-2026-1773879459","title":"TuxCare security update for cookie-signature (1 CVE)","description":"TuxCare rebuilt cookie-signature to address 1 CVE. Fixed in 1.0.0-tuxcare.1.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:47:46.821114503Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1784683082","title":"TuxCare security update for cookie-signature (1 CVE)","description":"TuxCare rebuilt cookie-signature to address 1 CVE. Fixed in 1.0.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:47Z","modified":"2026-10-15T09:47:54.24287221Z","updated_at":"2026-11-02T15:43:46.482572Z"}]}}
