Skip to main content
← All vulnerabilities
CVE-2015-9238GHSA-H9X2-5RM7-X4GM

secure-compare 3.0.0 and below do not actually compare two strings properly.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.1
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • HackerOne secure-compare node module

    through 3.0.0

  • secure-comparenpm

    fixed in 3.0.1

References 3

GitHub · vdemedes/secure-compare

nodesecurity.io

GitHub · m0d0ri205/wargame-turkey_in_2