UBUNTU-CVE-2017-20285

Source
https://ubuntu.com/security/CVE-2017-20285
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20285.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-20285
Upstream
Downstream
Related
Published
2026-10-05T07:16:00Z
Modified
2026-10-14T11:45:06Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / libyaml-perl

Package

Name
libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-perl?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15-1ubuntu0.1~esm1

Affected versions

1.*
1.13-1
1.15-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libyaml-perl",
            "binary_version":  "1.15-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20285.json"

Ubuntu:Pro:18.04:LTS / libyaml-perl

Package

Name
libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-perl?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.24-1ubuntu0.1~esm1

Affected versions

1.*
1.21-1
1.24-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libyaml-perl",
            "binary_version":  "1.24-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20285.json"