5.9med
CVE-2016-10535
Timing Attack in csrf-lite
Also known as GHSA-hjhr-r3gq-qvp6
Published 8 y ago · modified 4 mo ago · JSON
CVSS
5.9
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.3%
percentile 70%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.28% probability of exploitation in the next 30 days, higher than 70% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | csrf-lite | <0.1.2 | 0.1.2 |
Affected products
- HackerOne csrf-lite node module
Classification
References
- nodesecurity.io /advisories/94 · x_refsource_MISC, x_transferred
- github.com /isaacs/csrf-lite/pull/1 · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-10535 · advisory
- github.com /advisories/GHSA-hjhr-r3gq-qvp6 · advisory
- npmjs.com /advisories/94 · web
Sources
- CVE List: CVE-2016-10535
- GitHub Advisory: GHSA-hjhr-r3gq-qvp6
- NVD: CVE-2016-10535
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.