VDB

CVE-2017-20285

CVE-2017-20285 PUBLISHED CVSS 9.1 CRITICAL

Reported by cpansec · Published October 5, 2026

YAML versions before 1.30 for Perl allow a loaded document to trigger the DESTROY method of arbitrary classes. A perl/hash:Class tag blesses a hash into the class it names. The document supplies the object's fields, and Perl calls DESTROY when it goes out of scope. What DESTROY does depends on the classes the process has loaded. With File::Temp::Dir from core Perl, it can delete a directory tree the document names.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perl-YAMLerrata.rockylinux.org0:1.24-4.module+el8.10.0+40403+df14587c.src, 0:1.24-4.module+el8.10.0+40403+df14587c.noarch, 0:1.24-4.module+el8.10.0+40403+bd06a93a.src, 0:1.24-4.module+el8.10.0+40403+bd06a93a.noarch, 0:1.24-4.module+el8.10.0+40403+9457ea6c.src, 0:1.24-4.module+el8.10.0+40403+9457ea6c.noarch, 0:1.24-4.module+el8.10.0+40403+94558160.src, 0:1.24-4.module+el8.10.0+40403+94558160.noarch
YAMLcpan.org1.30
perl-YAMLAmazon Linux0.84-5.amzn2.0.2

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
0
0
amazon:2perl-YAML0

Timeline

  • Oct 5, 2026 EPSS Score (18 in total, the first dated here)
  • Oct 5, 2026 Coalition ESS Score
  • Oct 5, 2026 CVE Published
  • Oct 6, 2026 CVE Updated
  • Nov 11, 2026 Distribution Patch
  • Nov 11, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-20285
vulnetix vdb fixes CVE-2017-20285

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-20285/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›