CVE-2017-20285
Last modified
CVE-2017-20285 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | < 1.30 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2017-20285?
How severe is CVE-2017-20285?
How do I fix CVE-2017-20285?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-2028Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-20280Joomla Component Myportfolio 3.0.2 contains an SQL injection…8.2
- CVE-2017-20281Joomla! Component Extra Search 2.2.8 contains an SQL injecti…8.2
- CVE-2017-20282Joomla! Component jCart for OpenCart 2.0 contains an SQL inj…8.2
- CVE-2017-20283NXP MQX Classic before 5.0 contains an out-of-bounds write v…6.5
- CVE-2017-20284Caucho Resin contains a path traversal vulnerability in the …7.5
- CVE-2017-20286DevIL through 1.8.0 contains a heap-based buffer overflow in…7.8
- CVE-2017-20287Javo Spot theme for WordPress before 3.0.0 contains a path t…7.5
- CVE-2017-20288QCubed 2.2.0 through 3.1.1 contains a reflected cross-site s…6.1
- CVE-2017-20289Broadstreet Ad Widget plugin for WordPress 2.2.0 before 2.12…7.5
- CVE-2017-2029Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-20290Discourse 1.9.0.beta2 before 1.9.0.beta13 contains a reflect…6.1
Are you affected by CVE-2017-20285?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
