CVE-2017-20285

EUVD-2017-19016
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.
Unsafe Reflection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 7.21%
Debian logo
Debian Releases
Debian Product
Codename
libyaml-perl
bookworm
1.30-2
fixed
forky
1.321-1
fixed
sid
1.321-1
fixed
trixie
1.31-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libyaml-perl
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
xenial
needs-triage