ALSA-2026:93471: Important: perl-YAML:1.24 security update
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
almalinux/perl-YAMLto a version that resolves this vulnerability.Fixed in 1.24-4.module_el8.10.0+4341+ab0ec422
Event History
Frequently Asked Questions
What application behavior creates exposure to these issues?
Exposure exists where Perl applications use perl-YAML to deserialize YAML documents. The affected functionality converts YAML data into native Perl structures, including handling that can permit unrestricted package variable assignment or destructor method execution.
What could an attacker achieve by exploiting the flaws?
The listed security fixes address arbitrary code execution through unrestricted package variable assignment and arbitrary destructor method execution from a crafted YAML document.
Which CVEs are addressed by this update?
This update addresses CVE-2019-25777 and CVE-2017-20285.