
CVE catalog
CVE-2017-20285
YAML versions before 1.30 for Perl allow a loaded…
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.
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debiantrixie | libyaml-perl | 1.31-1 | Fixed | [CVE-2017-20285] |
| Debiansid | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debiansid | libyaml-perl | 1.321-1 | Fixed | [CVE-2017-20285] |
| Debianforky | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debianforky | libyaml-perl | 1.321-1 | Fixed | [CVE-2017-20285] |
| Debianbookworm | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debianbookworm | libyaml-perl | 1.30-2 | Fixed | [CVE-2017-20285] |
Showing 8 fix observations. All 9 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debianbookworm | libyaml-perl | 1.30-2 | Fixed | [CVE-2017-20285] |
| Debianforky | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debianforky | libyaml-perl | 1.321-1 | Fixed | [CVE-2017-20285] |
| Debiansid | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debiansid | libyaml-perl | 1.321-1 | Fixed | [CVE-2017-20285] |
| Debiantrixie | libyaml-perl | 1.30-1 | FixedDistribution-reported fixed boundary | [CVE-2017-20285] |
| Debiantrixie | libyaml-perl | 1.31-1 | Fixed | [CVE-2017-20285] |
| Ubuntunoble | libyaml-perl | 1.31-1ubuntu0.24.04.1 | UnknownSource applicability is not established | Provider not reported |
Original provider fields
{
"package_releases": [
{
"name": "libyaml-perl",
"status": "fixed",
"release": "sid",
"version": "1.321-1"
},
{
"name": "libyaml-perl",
"status": "fixed",
"release": "forky",
"version": "1.321-1"
},
{
"name": "libyaml-perl",
"status": "fixed",
"release": "trixie",
"version": "1.31-1"
},
{
"name": "libyaml-perl",
"status": "fixed",
"release": "bookworm",
"version": "1.30-2"
}
],
"fixed_versions": [
{
"bug": null,
"name": "libyaml-perl",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.30-1"
},
{
"bug": null,
"name": "libyaml-perl",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.30-1"
},
{
"bug": null,
"name": "libyaml-perl",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.30-1"
},
{
"bug": null,
"name": "libyaml-perl",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1.30-1"
}
],
"distribution_packages": [
{
"name": "libyaml-perl",
"distro": "ubuntu",
"ranges": [
{
"fixed": "1.31-1ubuntu0.24.04.1",
"introduced": "0"
}
],
"release": "noble",
"ecosystem": "deb",
"fixed_version": "1.31-1ubuntu0.24.04.1",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libyaml-perl]Unknown
Details (2)
1.30-2· all · bookwormFixed · Fixed:
1.30-1nvd · libyaml-perl · debian · bookworm; nvd · libyaml-perl · debian · 12
1.30-2· all · bookwormFixed · Fixed:
1.30-1nvd · libyaml-perl · debian · bookworm; nvd · libyaml-perl · debian · 12
[Debian 13 (Trixie)]
- [libyaml-perl]Unknown
Details (2)
1.31-1· all · trixieFixed · Fixed:
1.30-1nvd · libyaml-perl · debian · 13
1.31-1· all · trixieFixed · Fixed:
1.30-1nvd · libyaml-perl · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2017-20285]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-20285]
- [https://security-tracker.debian.org/tracker/CVE-2017-20285]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-20285.json]
- [https://ubuntu.com/security/notices/USN-8925-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]