Description
secure-compare 3.0.0 and below do not actually compare two strings properly. compare was actually comparing the first argument with itself, meaning the check passed for any two strings of the same length.
Remediation
References
https://github.com/vdemedes/secure-compare/pull/1
https://nodesecurity.io/advisories/50
Related Vulnerabilities
CVE-2022-35915 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts
CVE-2021-23364 Vulnerability in npm package browserslist
CVE-2018-20676 Vulnerability in maven package org.fujion.webjars:bootstrap
CVE-2020-5219 Vulnerability in npm package angular-expressions
CVE-2021-22096 Vulnerability in maven package org.springframework:spring-core