Security mailing lists by PureSourceCode

CVE-2015-9238

MEDIUM 5.3CVSS 3.0

Insecure Comparison in secure-compare

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.

Published
31 May 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-134CWE-697
Also known as
GHSA-h9x2-5rm7-x4gm
Sources
NVDJSONOSV GHSA-h9x2-5rm7-x4gmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD secure-compare_project secure-compare
cpe:2.3:a:secure-compare_project:secure-compare:*:*:*:*:*:node.js:*:*
< 3.0.1 3.0.1
OSV npm secure-compare < 3.0.1 3.0.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Jun 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.