CVE-2017-20240 Details
Description
Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks. These versions use Perl's built-in eq comparison. Discrepancies in timing could be used to guess the underlying derived-key.
A timing attack vulnerability exists in Crypt::PBKDF2 versions prior to 0.261630 for Perl. These versions utilize Perl's built-in equality comparison, which can lead to discrepancies in processing time. This timing variation could be exploited to infer information about the derived key in use.
Users can upgrade to Crypt::PBKDF2 version 0.261630 or later, where this vulnerability has been addressed by using a constant-time comparison in the validation process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 12, 2026CISA-ADP
Assessed Jun 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/arodland/Crypt-PBKDF2/pull/6 | CPANSec | Issue TrackingVendor |
| https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148 | CPANSec | Source CodeVendor |
| https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/06/12/3 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-208 | Observable Timing Discrepancy | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Crypt::PBKDF2 | < 0.261630 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | CVE Modified | CVE |
| Jun 12, 2026 | New CVE Received | CPANSec |
Volerion