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
HighCVSS 7.5
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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
Upgrade path
12 packages: 3 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libstring-compare-constanttime-perl(Debian 12) | = 0.321-2; = 0.321-3; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 16.04) | = 0.310-1; = 0.311-1; = 0.311-1build1; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 18.04) | = 0.312-1build1; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 20.04) | = 0.321-1; = 0.321-1build1; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 22.04) | = 0.321-1build2; = 0.321-1build3; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 24.04) | = 0.321-2build1; = 0.321-2build2; = 0.321-2build3; = 0.321-2build4 +1 more | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 25.10) | = 0.321-2build5; = 0.321-3; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 26.04) | = 0.321-3; All versions | No fix listed | No fix yet |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu 26.10) | = 0.321-3; = 0.321-3build1; All versions | No fix listed | No fix yet |
| debian/libstring-compare-constanttime-perl(Debian 13) | < 0.321-3 | 0.321-3 | Fixed |
| debian/libstring-compare-constanttime-perl(Debian 14) | < 0.321-3 | 0.321-3 | Fixed |
| FRACTAL String::Compare::ConstantTime | <= 0.321 | after 0.321 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libstring-compare-constanttime-perl(Debian:12) | All versions | No fix listed |
| debian/libstring-compare-constanttime-perl(Debian:12) | = 0.321-2 | No fix listed |
| debian/libstring-compare-constanttime-perl(Debian:12) | = 0.321-3 | No fix listed |
| debian/libstring-compare-constanttime-perl(Debian:13) | < 0.321-3 | 0.321-3 |
| debian/libstring-compare-constanttime-perl(Debian:14) | < 0.321-3 | 0.321-3 |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:22.04) | All versions | No fix listed |
| FRACTAL String::Compare::ConstantTime | <= 0.321 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:16.04) | = 0.310-1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:16.04) | = 0.311-1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:16.04) | = 0.311-1build1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:18.04) | = 0.312-1build1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:20.04) | = 0.321-1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:20.04) | = 0.321-1build1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:22.04) | = 0.321-1build2 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:22.04) | = 0.321-1build3 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:24.04) | = 0.321-2build1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:24.04) | = 0.321-2build2 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:24.04) | = 0.321-2build3 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:24.04) | = 0.321-2build4 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:25.10) | = 0.321-2build5 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:25.10) | = 0.321-3 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:26.10) | = 0.321-3 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:26.10) | = 0.321-3build1 | No fix listed |
| ubuntu/libstring-compare-constanttime-perl(Ubuntu:26.04) | = 0.321-3 | No fix listed |
References
- Debian Security Tracker CVE-2024-13939 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- metacpan.org issue-tracking related technical-description
- bugs.debian.org issue-tracking