{"id":"CVE-2016-10535","state":"PUBLISHED","title":"csrf-lite is a cross-site request forgery protection library for framework-less node sites. csrf-lite uses `===`, a fail first string comparison, instead of a time constant string ","description":"csrf-lite is a cross-site request forgery protection library for framework-less node sites. csrf-lite uses `===`, a fail first string comparison, instead of a time constant string comparison This enables an attacker to guess the secret in no more than (16*18)288 guesses, instead of the 16^18 guesses required were the timing attack not present.","publishedAt":"2018-05-31T20:00:00.000Z","updatedAt":"2024-09-17T01:30:58.704Z","severity":null,"assigner":"hackerone","products":["HackerOne csrf-lite node module"],"affected":[{"vendor":"HackerOne","product":"csrf-lite node module","versions":[{"version":"<=0.1.1","status":"affected"}]}],"references":["https://nodesecurity.io/advisories/94","https://github.com/isaacs/csrf-lite/pull/1"],"weaknesses":["CWE-208"],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10535.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10535","state":"PUBLISHED","datePublished":"2018-05-31T20:00:00.000Z","dateUpdated":"2024-09-17T01:30:58.704Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-10-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"csrf-lite is a cross-site request forgery protection library for framework-less node sites. csrf-lite uses `===`, a fail first string comparison, instead of a time constant string comparison This enables an attacker to guess the secret in no more than (16*18)288 guesses, instead of the 16^18 guesses required were the timing attack not present."}],"affected":[{"vendor":"HackerOne","product":"csrf-lite node module","versions":[{"version":"<=0.1.1","status":"affected"}]}],"references":[{"url":"https://nodesecurity.io/advisories/94","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/csrf-lite/pull/1","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","description":"Information Exposure Through Timing Discrepancy (CWE-208)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-05-31T19:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2016-10535","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"csrf-lite node module","version":{"version_data":[{"version_value":"<=0.1.1"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"csrf-lite is a cross-site request forgery protection library for framework-less node sites. csrf-lite uses `===`, a fail first string comparison, instead of a time constant string comparison This enables an attacker to guess the secret in no more than (16*18)288 guesses, instead of the 16^18 guesses required were the timing attack not present."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Information Exposure Through Timing Discrepancy (CWE-208)"}]}]},"references":{"reference_data":[{"name":"https://nodesecurity.io/advisories/94","refsource":"MISC","url":"https://nodesecurity.io/advisories/94"},{"name":"https://github.com/isaacs/csrf-lite/pull/1","refsource":"MISC","url":"https://github.com/isaacs/csrf-lite/pull/1"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://nodesecurity.io/advisories/94","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/isaacs/csrf-lite/pull/1","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:21:52.227Z"}}]}}}