CVE-2024-13939
published high CVSS 3.1 · 7.5String::Compare::ConstantTime for Perl through 0.321 is vulnerable to timing attacks that allow an attacker to guess the length of a secret string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FRACTAL | — | String-Compare-ConstantTimeString::Compare::ConstantTime · 0 through 0.321 · Other versions: unaffected | Affected | Not stated | CPANSec |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FRACTAL | String::Compare::ConstantTime | 0 through 0.321 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-208 CWE-208 Observable Timing Discrepancy
References
1Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1a69df8268999328c6e60151b094cb0cc6c12e7553435c34eb289bd1182d4a7c
- Ingested
- 23 Sep 2026, 08:17:58 UTC
- Source record
- Official CVE record