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.

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 toCVE-2020-36829
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CPANSecCNA
---
---
CISA-ADPADP
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 13%
VendorProductVersion
fractalstring\
𝑥
≤ 0.321
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libstring-compare-constanttime-perl
bullseye
vulnerable
bookworm
no-dsa
sid
0.321-3
fixed
trixie
0.321-3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libstring-compare-constanttime-perl
plucky
needs-triage
oracular
needs-triage
noble
needs-triage
jammy
needs-triage
focal
needs-triage
bionic
needs-triage
xenial
needs-triage