{"id":"UBUNTU-CVE-2017-20240","details":"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.","modified":"2026-06-17T04:03:29Z","published":"2026-06-12T14:16:00Z","upstream":["CVE-2017-20240"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20240"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20240"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/40929601/"},{"type":"REPORT","url":"https://github.com/arodland/Crypt-PBKDF2/pull/6"},{"type":"REPORT","url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.161520/source/lib/Crypt/PBKDF2.pm#L123-148"},{"type":"REPORT","url":"https://metacpan.org/release/ARODLAND/Crypt-PBKDF2-0.261630/changes"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/06/12/3"}],"affected":[{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.150900-1","0.160410-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-pbkdf2-perl","binary_version":"0.160410-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-pbkdf2-perl","binary_version":"0.161520-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.161520-1","binary_name":"libcrypt-pbkdf2-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-pbkdf2-perl","binary_version":"0.161520-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-pbkdf2-perl","binary_version":"0.161520-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.161520-2","binary_name":"libcrypt-pbkdf2-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}},{"package":{"name":"libcrypt-pbkdf2-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-pbkdf2-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.161520-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.161520-2","binary_name":"libcrypt-pbkdf2-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20240.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}