Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2017-20285

Опубликовано: 05 окт. 2026
Источник: redhat
CVSS3: 7.4
EPSS Низкий

Описание

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.

A flaw was found in perl-yaml. An attacker can trigger unintended actions, such as arbitrary file deletion, by supplying a specially crafted YAML document. The parser permits untrusted documents to instantiate arbitrary object classes, causing Perl to automatically execute their destructor methods when the objects are cleaned up.

Отчет

This vulnerability is rated as Important severity because parsing untrusted YAML input enables unprivileged attackers to trigger arbitrary object destructors, potentially resulting in high integrity and availability damage such as unintended filesystem deletion. Within Red Hat Enterprise Linux, the blast radius is determined by whether services or scripts accept unvalidated YAML data from external sources. While exploitation requires compatible Perl modules to be loaded in the process context, it poses a direct risk to applications processing user-supplied documents.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10perl-YAMLNot affected
Red Hat Enterprise Linux 6perl-YAMLNot affected
Red Hat Enterprise Linux 7perl-YAMLAffected
Red Hat Enterprise Linux 9perl-YAMLNot affected
Red Hat Enterprise Linux 8perl-YAMLFixedRHSA-2026:9347102.11.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-502
https://bugzilla.redhat.com/show_bug.cgi?id=2545820perl-yaml: perl-yaml: Arbitrary destructor method execution via crafted YAML document

EPSS

Процентиль: 28%
0.0034
Низкий

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 9.1
ubuntu
около 1 месяца назад

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.

CVSS3: 9.1
nvd
около 1 месяца назад

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.

CVSS3: 9.1
debian
около 1 месяца назад

YAML versions before 1.30 for Perl allow a loaded document to trigger ...

CVSS3: 9.1
github
около 1 месяца назад

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.

rocky
15 дней назад

Important: perl-YAML:1.24 security update

EPSS

Процентиль: 28%
0.0034
Низкий

7.4 High

CVSS3