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.
Remediation
References
https://github.com/isaacs/csrf-lite/pull/1
https://nodesecurity.io/advisories/94
Related Vulnerabilities
CVE-2021-43980 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2014-0121 Vulnerability in maven package io.hawt:hawtio-karaf-terminal
CVE-2014-7808 Vulnerability in maven package org.apache.wicket:wicket-core
CVE-2023-46589 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2018-20594 Vulnerability in maven package org.hswebframework.web:hsweb-system-workflow-local