CVEvulnerability

CVE-2016-10535

5.9 MEDIUM Published 2018-05-31 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-05-31
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
5.9 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-208, CWE-310

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.

Affected configurations

• csrf-lite project csrf-lite (<= 0.1.1)

Related

Weakness · not in database (1)

Weakness · CWE (1)

  • CWE-208 Observable Timing Discrepancy weakness

References