perl-YAML:1.24 security update
エラータID: AXSA:2026-2387:01
he perl-YAML package provides the pure-Perl implementation of the YAML (YAML
Ain't Markup Language) data serialization standard. It allows developers to
serialize Perl data structures into formatted YAML text and deserialize YAML
data back into native Perl structures, making it widely used for configuration
files, data exchange, and human-readable data storage in Perl applications.
Security Fix(es):
* perl-yaml: perl-yaml: Arbitrary code execution via unrestricted package variable assignment (CVE-2019-25777)
* perl-yaml: perl-yaml: Arbitrary destructor method execution via crafted YAML document (CVE-2017-20285)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE page(s)
listed in the References section.
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.
CVE-2019-25777
YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to
replace any package variable, which can lead to arbitrary code execution. A
perl/glob document names a package and a symbol, and supplies the value assigned
to it. Nothing restricts the name, so the target can be @INC or YAML's own load
options. A perl/glob document that sets $YAML::LoadCode or $YAML::UseCode turns
on code loading, which is off by default, for every later Load() in the process.
A perl/code document is then passed to a string eval, so an attacker who
supplies two documents to separate Load() calls in one process can execute
arbitrary Perl code.
Modularity name: "perl-YAML"
Stream name: "1.24"
Update packages.
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.
YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to replace any package variable, which can lead to arbitrary code execution. A perl/glob document names a package and a symbol, and supplies the value assigned to it. Nothing restricts the name, so the target can be @INC or YAML's own load options. A perl/glob document that sets $YAML::LoadCode or $YAML::UseCode turns on code loading, which is off by default, for every later Load() in the process. A perl/code document is then passed to a string eval, so an attacker who supplies two documents to separate Load() calls in one process can execute arbitrary Perl code.
N/A
SRPMS
- perl-YAML-1.24-4.module+el8+2079+1986682f.src.rpm
MD5: 2b8237ad23837f9408094ecc34961cc1
SHA-256: 50e4ea9e8a7e8d51729aa69c676a86baf0094597b8a5b33420986fae3703d326
Size: 109.05 kB
Asianux Server 8 for x86_64
- perl-YAML-1.24-4.module+el8+2079+1986682f.noarch.rpm
MD5: d911906e0833f6123ec290b63614d15d
SHA-256: bf7efec6f1fe79bfecfe7d4d5c7b3c1e8d2fb9a78f5afa4f26834842e97e2c0e
Size: 92.04 kB