String::Compare::ConstantTime for Perl through 0.321 is...
High severity
Unreviewed
Published
Mar 28, 2025
to the GitHub Advisory Database
•
Updated Apr 11, 2025
Description
Published by the National Vulnerability Database
Mar 28, 2025
Published to the GitHub Advisory Database
Mar 28, 2025
Last updated
Apr 11, 2025
String::Compare::ConstantTime for Perl through 0.321 is vulnerable to timing attacks that allow an attacker to guess the length of a secret string.
As stated in the documentation: "If the lengths of the strings are different, because equals returns false right away the size of the secret string may be leaked (but not its contents)."
This is similar to CVE-2020-36829
References