—
PYSEC-2020-176
Quick fix
PYSEC-2020-176 — pyyaml: upgrade to the fixed version with the command below.
pip install --upgrade 'pyyaml>=5.2b1'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.exploit-db.com/download/47655[WEB]
- https://github.com/yaml/pyyaml/blob/master/CHANGES[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/52N5XS73Z5S4ZN7I7R56ICCPCTKCUV4H/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/33VBUY73AA6CTTYL3LRWHNFDULV7PFPN/[WEB]
- https://github.com/advisories/GHSA-3pqx-4fqf-j49f[ADVISORY]