{"api_version":"1","generated_at":"2026-07-23T11:30:14+00:00","cve":"CVE-2017-20240","urls":{"html":"https://cve.report/CVE-2017-20240","api":"https://cve.report/api/cve/CVE-2017-20240.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-20240","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-20240"},"summary":{"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-06-12 14:16:28","updated_at":"2026-06-12 17:16:22"},"problem_types":["CWE-208","CWE-208 CWE-208 Observable Timing Discrepancy"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes","name":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/arodland/Crypt-PBKDF2/pull/6","name":"https://github.com/arodland/Crypt-PBKDF2/pull/6","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148","name":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/06/12/3","name":"http://www.openwall.com/lists/oss-security/2026/06/12/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20240","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20240","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ARODLAND","product":"Crypt::PBKDF2","version":"affected 0.261630 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2017-12-11T00:00:00.000Z","lang":"en","value":"Issue reported as pull request"},{"source":"CNA","time":"2026-06-11T00:00:00.000Z","lang":"en","value":"Version 0.261630 released with a fix"}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to version 0.261630 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Apply the patch from the referenced pull request.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2017","cve_id":"20240","cve":"CVE-2017-20240","epss":"0.003200000","percentile":"0.235140000","score_date":"2026-06-20","updated_at":"2026-06-21 00:13:44"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2017-20240","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-12T16:06:29.012440Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-12T16:06:56.547Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2026-06-12T16:59:33.477Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/06/12/3"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-PBKDF2","product":"Crypt::PBKDF2","programRoutines":[{"name":"Crypt::PBKDF2::validate"}],"repo":"https://github.com/arodland/Crypt-PBKDF2","vendor":"ARODLAND","versions":[{"lessThan":"0.261630","status":"affected","version":"0","versionType":"custom"}]}],"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","description":"CWE-208 Observable Timing Discrepancy","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-12T13:19:15.900Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["issue-tracking"],"url":"https://github.com/arodland/Crypt-PBKDF2/pull/6"},{"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148"},{"tags":["release-notes"],"url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes"}],"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"}],"title":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable to timing attacks","workarounds":[{"lang":"en","value":"Apply the patch from the referenced pull request."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2017-20240","datePublished":"2026-06-12T13:19:15.900Z","dateReserved":"2026-05-26T18:23:21.387Z","dateUpdated":"2026-06-12T16:59:33.477Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-12 14:16:28","lastModifiedDate":"2026-06-12 17:16:22","problem_types":["CWE-208","CWE-208 CWE-208 Observable Timing Discrepancy"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"20240","Ordinal":"1","Title":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable t","CVE":"CVE-2017-20240","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"20240","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Crypt::PBKDF2 versions before 0.261630 for Perl are vulnerable t"}]}}}