Bug 2545820 (CVE-2017-20285) - CVE-2017-20285 perl-yaml: perl-yaml: Arbitrary destructor method execution via crafted YAML document
Summary: CVE-2017-20285 perl-yaml: perl-yaml: Arbitrary destructor method execution vi...
Keywords:
Status: NEW
Alias: CVE-2017-20285
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-05 07:11 UTC by OSIDB Bzimport
Modified: 2026-10-05 07:23 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-05 07:11:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.