{"id":"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.\n\n\n## Recommendation\n\nUpgrade to version 3.0.1 or later.","aliases":["CVE-2015-9238"],"modified":"2023-11-08T03:58:04.246017Z","published":"2019-06-03T17:28:23Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-06-03T17:22:37Z","nvd_published_at":null,"cwe_ids":["CWE-697"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-9238"},{"type":"WEB","url":"https://github.com/vdemedes/secure-compare/pull/1"},{"type":"WEB","url":"https://github.com/vadimdemedes/secure-compare/commit/dd1ff1ac0122de7e0af4f00c61ed73261062394a"},{"type":"WEB","url":"https://www.npmjs.com/advisories/50"}],"affected":[{"package":{"name":"secure-compare","ecosystem":"npm","purl":"pkg:npm/secure-compare"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-h9x2-5rm7-x4gm/GHSA-h9x2-5rm7-x4gm.json"}}],"schema_version":"1.9.0"}