Insecure Comparison in secure-compare
High severity
GitHub Reviewed
Published
Jun 3, 2019
to the GitHub Advisory Database
•
Updated Apr 5, 2023
Description
Reviewed
Jun 3, 2019
Published to the GitHub Advisory Database
Jun 3, 2019
Last updated
Apr 5, 2023
Versions of
secure-compare
prior to 3.0.1 are affected by a vulnerability that results in the package always returning true when comparing two strings of the same length, despite differences in the contents of those strings.Recommendation
Upgrade to version 3.0.1 or later.
References