Home

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

PUBLISHED Reserved 2025-03-26 | Published 2025-03-28 | Updated 2025-03-28 | Assigner CPANSec

Problem types

CWE-208 Observable Timing Discrepancy

Product status

Default status
unaffected

Any version
affected

Credits

Robert Rothenberg reporter

References

metacpan.org/....321/view/lib/String/Compare/ConstantTime.pm related

cve.org (CVE-2024-13939)

nvd.nist.gov (CVE-2024-13939)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.