{"id":32687,"date":"2026-10-05T16:30:42","date_gmt":"2026-10-05T08:30:42","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2017-20285"},"modified":"2026-10-05T16:30:42","modified_gmt":"2026-10-05T08:30:42","slug":"cve-2017-20285","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2017-20285","title":{"rendered":"CVE-2017-20285 &#8211; YAML versions before 1.30 for Perl allow a loaded document to trigger the DESTROY method o"},"content":{"rendered":"<p>YAML versions before 1.30 for Perl allow a loaded document to trigger the DESTROY method of arbitrary classes.<\/p>\n<p>A perl\/hash:Class tag blesses a hash into the class it names. The document supplies the object&#8217;s fields, and Perl calls DESTROY when it goes out of scope.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>YAML versions before 1.30 for Perl allow a loaded document to trigger the DESTROY method of arbitrary classes.<\/p>\n<p>A perl\/hash:Class tag blesses a hash into the class it names. The document supplies the <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-32687","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/32687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}