{ "schema_version": "1.4.0", "id": "GHSA-h9x2-5rm7-x4gm", "modified": "2020-08-31T18:09:18Z", "published": "2019-06-03T17:28:23Z", "aliases": [ "CVE-2015-9238" ], "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.", "severity": [], "affected": [ { "package": { "ecosystem": "npm", "name": "secure-compare" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "3.0.1" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-697" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2019-06-03T17:22:37Z", "nvd_published_at": null } }