{"id":"CVE-2015-9238","state":"PUBLISHED","title":"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 str","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.","publishedAt":"2018-05-31T20:00:00.000Z","updatedAt":"2024-09-16T17:43:37.504Z","severity":null,"assigner":"hackerone","products":["HackerOne secure-compare node module"],"affected":[{"vendor":"HackerOne","product":"secure-compare node module","versions":[{"version":"<=3.0.0","status":"affected"}]}],"references":["https://github.com/vdemedes/secure-compare/pull/1","https://nodesecurity.io/advisories/50"],"weaknesses":["CWE-697"],"ingestedAt":"2026-10-29T19:42:20.193Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/9xxx/CVE-2015-9238.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-9238","state":"PUBLISHED","datePublished":"2018-05-31T20:00:00.000Z","dateUpdated":"2024-09-16T17:43:37.504Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-10-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"HackerOne","product":"secure-compare node module","versions":[{"version":"<=3.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/vdemedes/secure-compare/pull/1","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/50","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-697","description":"Incorrect Comparison (CWE-697)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-05-31T19:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2015-9238","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"secure-compare node module","version":{"version_data":[{"version_value":"<=3.0.0"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Incorrect Comparison (CWE-697)"}]}]},"references":{"reference_data":[{"name":"https://github.com/vdemedes/secure-compare/pull/1","refsource":"MISC","url":"https://github.com/vdemedes/secure-compare/pull/1"},{"name":"https://nodesecurity.io/advisories/50","refsource":"MISC","url":"https://nodesecurity.io/advisories/50"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/vdemedes/secure-compare/pull/1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nodesecurity.io/advisories/50","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T08:43:42.637Z"}}]}}}