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.
References
Link | Resource |
---|---|
https://nodesecurity.io/advisories/50 | Third Party Advisory |
https://github.com/vdemedes/secure-compare/pull/1 | Third Party Advisory |
Configurations
Information
Published : 2018-05-31 13:29
Updated : 2019-10-09 16:15
NVD link : CVE-2015-9238
Mitre link : CVE-2015-9238
JSON object : View
CWE
CWE-134
Use of Externally-Controlled Format String
Products Affected
secure-compare_project
- secure-compare