Security Advisories (1)
CVE-2024-13939 (2025-03-28)

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

Changes for version 0.312 - 2017-02-14

  • Now works with variables that have magic such as results of substr, tied variables, etc. (thanks James Raspass)

Modules

Timing side-channel protected string compare