{"id":"CVE-2015-9238","sourceIdentifier":"support@hackerone.com","published":"2018-05-31T20:29:00.423","lastModified":"2026-06-17T00:36:06.870","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"secure-compare, en versiones 3.0.0 y anteriores, no compara correctamente dos cadenas. compare estaba comparando el primer argumento con sí mismo, lo que significa que la comprobación pasaba para cualquier conjunto de dos cadenas de la misma longitud."}],"affected":[{"source":"support@hackerone.com","affectedData":[{"vendor":"HackerOne","product":"secure-compare node module","versions":[{"version":"<=3.0.0","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"support@hackerone.com","type":"Secondary","description":[{"lang":"en","value":"CWE-697"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-134"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:secure-compare_project:secure-compare:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.0.1","matchCriteriaId":"36CA87CF-44C4-49F9-B7BF-29CC3A138E53"}]}]}],"references":[{"url":"https://github.com/vdemedes/secure-compare/pull/1","source":"support@hackerone.com","tags":["Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/50","source":"support@hackerone.com","tags":["Third Party Advisory"]},{"url":"https://github.com/vdemedes/secure-compare/pull/1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/50","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}