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.
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.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| secure-compare project | secure-compare | < 3.0.1 | node.js |
CWE-134 Use of Externally-Controlled Format String
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
| Scope | Impact |
|---|---|
| Confidentiality | Read Memory Format string problems allow for information disclosure which can severely simplify exploitation of the program. |
| Integrity, Confidentiality, Availability | Modify Memory, Execute Unauthorized Code or Commands Format string problems can result in the execution of arbitrary code, buffer overflows, denial of service, or incorrect data representation. |
All 436 CWE-134 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org