Vulnerability
CVE-2019-20477
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
9 advisories report this vulnerability, across 7 ecosystems.
Advisories in Red Hat
-
RHSA-2020:4641
Red Hat Security Advisory: python38:3.8 security, bug fix, and enhancement update
-
RHVEX-CVE-2019-20477
PyYAML: command execution through python/object/apply constructor in FullLoader
References
- https://github.com/yaml/pyyaml/blob/master/CHANGES
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/
- https://www.exploit-db.com/download/47655