CVE-2024-13939: 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
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
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-13939?
CVE-2024-13939 is considered to have a high severity due to its potential for timing attacks.
What does CVE-2024-13939 affect?
CVE-2024-13939 affects Perl's String::Compare::ConstantTime versions up to and including 0.321.
How do I fix CVE-2024-13939?
To fix CVE-2024-13939, you should upgrade to a version of String::Compare::ConstantTime that is beyond 0.321.
What type of attack does CVE-2024-13939 allow?
CVE-2024-13939 allows timing attacks that enable attackers to guess the length of a secret string.
Is the timing attack in CVE-2024-13939 related to string comparison?
Yes, the timing attack in CVE-2024-13939 is specifically related to improper string comparison in the affected Perl module.