Security mailing lists by PureSourceCode

CVE-2016-10535

MEDIUM 5.9CVSS 3.0

Timing Attack in csrf-lite

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.

Published
31 May 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-208CWE-310
Also known as
GHSA-hjhr-r3gq-qvp6
Sources
NVDJSONOSV GHSA-hjhr-r3gq-qvp6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD csrf-lite_project csrf-lite
cpe:2.3:a:csrf-lite_project:csrf-lite:*:*:*:*:*:node.js:*:*
<= 0.1.1
OSV npm csrf-lite < 0.1.2 0.1.2

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Feb 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.