GHSA-h9x2-5rm7-x4gm
Dashboard / Vulnerabilities / GHSA-h9x2-5rm7-x4gm
Summary: Insecure Comparison in secure-compare
Details: Versions of `secure-compare` prior to 3.0.1 are affected by a vulnerability that results in the package always returning true when comparing two strings of the same length, despite differences in the contents of those strings. ## Recommendation Upgrade to version 3.0.1 or later.
References: https://nvd.nist.gov/vuln/detail/CVE-2015-9238, https://github.com/vdemedes/secure-compare/pull/1, https://github.com/vadimdemedes/secure-compare/commit/dd1ff1ac0122de7e0af4f00c61ed73261062394a, https://www.npmjs.com/advisories/50
Affected packages
Package
Name: secure-compare
Purl: pkg:npm/secure-compare
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -3.0.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
