{"id":"UBUNTU-CVE-2017-20230","details":"Storable versions before 3.05 for Perl has a stack overflow. The retrieve_hook function stored the length of the class name into a signed integer but in read operations treated the length as unsigned. This allowed an attacker to craft data that could trigger the overflow.","modified":"2026-05-14T12:34:58.406953Z","published":"2026-04-21T16:16:00Z","upstream":["CVE-2017-20230"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20230"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20230"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/39144694/"},{"type":"REPORT","url":"https://github.com/Perl/perl5/issues/15831"},{"type":"REPORT","url":"https://github.com/Perl/perl5/commit/a258c17c6937f79529c8319a829310e09cdbd216"}],"affected":[{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.7+esm5?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.14.2-21build1","5.18.1-4","5.18.1-4build1","5.18.1-5","5.18.2-2","5.18.2-2ubuntu1","5.18.2-2ubuntu1.1","5.18.2-2ubuntu1.3","5.18.2-2ubuntu1.4","5.18.2-2ubuntu1.6","5.18.2-2ubuntu1.7","5.18.2-2ubuntu1.7+esm3","5.18.2-2ubuntu1.7+esm4","5.18.2-2ubuntu1.7+esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"libcgi-fast-perl"},{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"libperl5.18"},{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"perl"},{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"perl-base"},{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"perl-debug"},{"binary_version":"5.18.2-2ubuntu1.7+esm5","binary_name":"perl-modules"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20230.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.9+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.20.2-6","5.22.1-3","5.22.1-4","5.22.1-5","5.22.1-7","5.22.1-8","5.22.1-9","5.22.1-9ubuntu0.2","5.22.1-9ubuntu0.3","5.22.1-9ubuntu0.5","5.22.1-9ubuntu0.6","5.22.1-9ubuntu0.9","5.22.1-9ubuntu0.9+esm1","5.22.1-9ubuntu0.9+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"5.22.1-9ubuntu0.9+esm2","binary_name":"libperl5.22"},{"binary_version":"5.22.1-9ubuntu0.9+esm2","binary_name":"perl"},{"binary_version":"5.22.1-9ubuntu0.9+esm2","binary_name":"perl-base"},{"binary_version":"5.22.1-9ubuntu0.9+esm2","binary_name":"perl-debug"},{"binary_version":"5.22.1-9ubuntu0.9+esm2","binary_name":"perl-modules-5.22"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20230.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.7?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.26.0-8ubuntu1","5.26.1-2ubuntu1","5.26.1-3","5.26.1-4","5.26.1-4build1","5.26.1-5","5.26.1-6","5.26.1-6ubuntu0.1","5.26.1-6ubuntu0.2","5.26.1-6ubuntu0.3","5.26.1-6ubuntu0.5","5.26.1-6ubuntu0.6","5.26.1-6ubuntu0.7"],"ecosystem_specific":{"binaries":[{"binary_version":"5.26.1-6ubuntu0.7","binary_name":"libperl5.26"},{"binary_version":"5.26.1-6ubuntu0.7","binary_name":"perl"},{"binary_version":"5.26.1-6ubuntu0.7","binary_name":"perl-base"},{"binary_version":"5.26.1-6ubuntu0.7","binary_name":"perl-debug"},{"binary_version":"5.26.1-6ubuntu0.7","binary_name":"perl-modules-5.26"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20230.json"}},{"package":{"name":"perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/perl@5.30.0-9ubuntu0.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.28.1-6build1","5.30.0-7","5.30.0-9","5.30.0-9build1","5.30.0-9ubuntu0.2","5.30.0-9ubuntu0.3","5.30.0-9ubuntu0.4","5.30.0-9ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"libperl5.30"},{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"perl"},{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"perl-base"},{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"perl-debug"},{"binary_version":"5.30.0-9ubuntu0.5","binary_name":"perl-modules-5.30"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20230.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}