ALAS2-2026-4035
Active ImportantALAS2-2026-4035 (important): perl-YAML
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2026-4035.html| CVE |
|---|
| CVE-2017-20285 |
| CVE-2019-25777 |
Description
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
Read full publisher description 1100 characters
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-2017-20285) 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. (CVE-2019-25777)
Solution
Run yum update perl-YAML or yum update --advisory ALAS2-2026-4035 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences-
1perl-YAML
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- perl-YAML-0.84-5.amzn2.0.2.noarch
-
2perl-YAML
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- perl-YAML-0.84-5.amzn2.0.2.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2017-20285 https://access.redhat.com/security/cve/CVE-2017-20285
- CVE-2019-25777 https://access.redhat.com/security/cve/CVE-2019-25777
- CVE-2017-20285 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-20285
- CVE-2019-25777 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-25777
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-4035.html | Unknown | 715aacf1f23bb545c4acb2e5292e55572b0a515a4af4a6ecff0671197ccd11db | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4035.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4035.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |