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.321 - 2019-06-17

  • Remove unnecessary sv_len_utf8 calls (thanks David Golden)
  • Test and document mixed UTF-8 flag comparison (thanks David Golden)

Modules

Timing side-channel protected string compare