CVE-2017-20230Storable versions before 3.05 for Perl has a stack overflow
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | perl | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | perl | Fix pending | UBUNTU-CVE-2017-20230 | |
| Ubuntu 18.04 | perl | Fix pending | UBUNTU-CVE-2017-20230 | |
| Ubuntu 16.04 | perl | Fix pending | UBUNTU-CVE-2017-20230 | |
| Ubuntu 14.04 | perl | Fix pending | UBUNTU-CVE-2017-20230 | |
| Debian 14 | perl | Fixed | 5.28.0-3 | DEBIAN-CVE-2017-20230 |
| Debian 13 | perl | Fixed | 5.28.0-3 | DEBIAN-CVE-2017-20230 |
| Debian 12 | perl | Fixed | 5.28.0-3 | DEBIAN-CVE-2017-20230 |
| Red Hat Enterprise Linux 10 | perl-Storable | Not affected | ||
| Red Hat Enterprise Linux 9 | perl-Storable | Not affected | ||
| Red Hat Enterprise Linux 8 | perl-Storable | Not affected | ||
| Red Hat Enterprise Linux 7 | perl-Storable | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NWCLARK Storable: affected: before 3.05; fixed in
3.05
Solution: Upgrade to Storable version 3.05 or newer.
Vendor advisories:
- https://github.com/Perl/perl5/commit/a258c17c6937f79529c8319a829310e09cdbd216.patch (patch)
- https://metacpan.org/release/RURBAN/Storable-3.05/changes (release-notes)
References
- https://github.com/Perl/perl5/issues/15831
- https://github.com/Perl/perl5/commit/a258c17c6937f79529c8319a829310e09cdbd216.patch
- https://metacpan.org/release/RURBAN/Storable-3.05/changes
- https://www.nntp.perl.org/group/perl.perl5.porters/2017/01/msg242533.html
- https://www.nntp.perl.org/group/perl.perl5.porters/2017/01/msg242703.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.