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
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
Name | Vendor | Start Version | End Version |
---|---|---|---|
String::compare::constanttime | Fractal | * | 0.321 (including) |