Skip to content

CVE-2015-9238 Insecure Comparison in secure-compare

MediumCVSS 5.3 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
npm secure-compare(npm) < 3.0.1 3.0.1
secure-compare project secure-compare < 3.0.1 3.0.1
HackerOne secure-compare node module = <=3.0.0 No fix listed

References