Description
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
Problem types
CWE-208 Observable Timing Discrepancy
Product status
Any version
Credits
Robert Rothenberg
References
metacpan.org/....321/view/lib/String/Compare/ConstantTime.pm
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.