CVE-2015-9238: hackerone secure-compare node module Incorrect Comparison
CVSS: 5.3v3.0MediumModified
AliasesGHSA-h9x2-5rm7-x4gm
Published 31-05-2018Last modified 16-09-2024
Vulnerability summary
CVE-2015-9238 is a medium (CVSS 5.3) Incorrect Comparison vulnerability in hackerone secure-compare node module. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 73.4% of scored vulnerabilities.
CVSS score
5.3/10
010
Medium · v3.0 (NVD)EPSS score
1.48%
0%100%
Low · -0.02 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 31-05-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsMedium 5.3Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NSourcesSingle source
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
1.48%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
-0.02 pp
From 1.50% on 19-09-2026
19-09-202619-10-2026
EPSS score1.48%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-697Incorrect ComparisonThe product compares two entities in a security-relevant context, but the comparison is incorrect.
- CWE-134Use of Externally-Controlled Format StringThe product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Affected systems
Hackerone1 product
- secure-compare node module≤ 3.0.0
Npm1 product
- secure-compare< 3.0.1
Secure-compare_project1 product
- secure-compare< 3.0.1
3 vendors · 3 products