CVE-2017-20285

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.
Configurations

No configuration.

History

06 Oct 2026, 17:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

05 Oct 2026, 19:17

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/10/05/8 -

05 Oct 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-05 07:16

Updated : 2026-10-06 17:17


NVD link : CVE-2017-20285

Mitre link : CVE-2017-20285

CVE.ORG link : CVE-2017-20285


JSON object : View

Products Affected

No product.

CWE
CWE-470

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

CWE-502

Deserialization of Untrusted Data