CVE Vulnerabilities

CVE-2024-13939

Observable Timing Discrepancy

Published: Mar 28, 2025 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

Weakness

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.

Affected Software

Name Vendor Start Version End Version
String::compare::constanttime Fractal * 0.321 (including)

References