{"id":"CVE-2017-20240","state":"PUBLISHED","title":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks","description":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks.\n\nThese versions use Perl's built-in eq comparison. Discrepancies in timing could be used to guess the underlying derived-key.","publishedAt":"2026-06-12T13:19:15.900Z","updatedAt":"2026-06-12T16:59:33.477Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["ARODLAND Crypt::PBKDF2"],"affected":[{"vendor":"ARODLAND","product":"Crypt::PBKDF2","packageName":"Crypt-PBKDF2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.261630","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Crypt::PBKDF2::validate"}],"repo":"https://github.com/arodland/Crypt-PBKDF2"}],"references":["https://github.com/arodland/Crypt-PBKDF2/pull/6","https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148","https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes","http://www.openwall.com/lists/oss-security/2026/06/12/3"],"weaknesses":["CWE-208"],"ingestedAt":"2026-10-29T19:43:37.076Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/20xxx/CVE-2017-20240.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2017-20240","state":"PUBLISHED","datePublished":"2026-06-12T13:19:15.900Z","dateUpdated":"2026-06-12T16:59:33.477Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-26T18:23:21.387Z"},"containers":{"cna":{"title":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks","descriptions":[{"lang":"en","value":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks.\n\nThese versions use Perl's built-in eq comparison. Discrepancies in timing could be used to guess the underlying derived-key."}],"affected":[{"vendor":"ARODLAND","product":"Crypt::PBKDF2","packageName":"Crypt-PBKDF2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.261630","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programRoutines":[{"name":"Crypt::PBKDF2::validate"}],"repo":"https://github.com/arodland/Crypt-PBKDF2"}],"references":[{"url":"https://github.com/arodland/Crypt-PBKDF2/pull/6","tags":["issue-tracking"]},{"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148"},{"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","description":"CWE-208 Observable Timing Discrepancy","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-06-12T13:19:15.900Z"},"solutions":[{"lang":"en","value":"Upgrade to version 0.261630 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2017-12-11T00:00:00.000Z","value":"Issue reported as pull request"},{"lang":"en","time":"2026-06-11T00:00:00.000Z","value":"Version 0.261630 released with a fix"}],"workarounds":[{"lang":"en","value":"Apply the patch from the referenced pull request."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-12T16:06:29.012440Z","id":"CVE-2017-20240","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-12T16:06:56.547Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/06/12/3"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-06-12T16:59:33.477Z"}}]}}}